Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004307, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9023, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04131/0.9436, allocations: 33.91 MB / 0.9876 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02454/0.9682, allocations: 12.84 MB / 1 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005088/0.9734, allocations: 91.69 kB / 1 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.9761, allocations: 0.5856 MB / 1.001 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.9804, allocations: 1.093 MB / 1.002 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.9865, allocations: 1.518 MB / 1.003 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.9966, allocations: 7.285 MB / 1.01 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/1.013, allocations: 10.04 MB / 1.02 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/1.016, allocations: 1.872 MB / 1.022 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/1.021, allocations: 2.636 MB / 1.025 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/1.022, allocations: 256 kB / 1.025 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/1.024, allocations: 0.5386 MB / 1.025 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002852/1.027, allocations: 1.988 MB / 1.027 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/1.028, allocations: 0.82 MB / 1.028 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007115/1.035, allocations: 7.654 MB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.035, allocations: 0 / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.894e-06/1.035, allocations: 0 / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001635/1.035, allocations: 0 / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.006192/1.041, allocations: 3.444 MB / 1.039 GB, free: 8.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.041, allocations: 12.03 kB / 1.039 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/1.045, allocations: 0.9434 MB / 1.04 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003936/1.049, allocations: 2.147 MB / 1.042 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/1.049, allocations: 332.6 kB / 1.042 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007609/1.05, allocations: 435.8 kB / 1.043 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/1.065, allocations: 7.322 MB / 1.05 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-05/1.065, allocations: 11.92 kB / 1.05 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004837/1.066, allocations: 184 kB / 1.05 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003285/1.066, allocations: 286.9 kB / 1.05 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/1.077, allocations: 5.932 MB / 1.056 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03872/1.116, allocations: 32.62 MB / 1.088 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/1.119, allocations: 2.111 MB / 1.09 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.12, allocations: 1.243 MB / 1.091 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.121, allocations: 106.1 kB / 1.091 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.121, allocations: 51.5 kB / 1.091 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=98): time 2.895e-06/1.121, allocations: 0 / 1.091 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101): time 0.009229/1.13, allocations: 5.227 MB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/1.13, allocations: 141.5 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/1.132, allocations: 1.445 MB / 1.098 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/1.132, allocations: 41.7 kB / 1.098 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.134, allocations: 1.863 MB / 1.1 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/1.134, allocations: 378.9 kB / 1.1 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.134, allocations: 40 kB / 1.1 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002257/1.134, allocations: 398 kB / 1.101 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.136, allocations: 1.093 MB / 1.102 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.139, allocations: 2.176 MB / 1.104 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.141, allocations: 1.525 MB / 1.105 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/1.141, allocations: 15.94 kB / 1.105 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005074/1.146, allocations: 3.3 MB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008384/1.147, allocations: 1.086 MB / 1.11 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/1.147, allocations: 32 kB / 1.11 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-05/1.147, allocations: 52 kB / 1.11 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.149, allocations: 0.62 MB / 1.11 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.59e-05/1.149, allocations: 67.73 kB / 1.11 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.151, allocations: 306.8 kB / 1.111 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/1.151, allocations: 112 kB / 1.111 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.151, allocations: 9.672 kB / 1.111 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004396/1.156, allocations: 2.742 MB / 1.114 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/1.156, allocations: 32 kB / 1.114 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.523e-05/1.156, allocations: 52 kB / 1.114 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.158, allocations: 0.5498 MB / 1.114 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-05/1.158, allocations: 71.72 kB / 1.114 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.159, allocations: 227.3 kB / 1.114 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/1.16, allocations: 119.9 kB / 1.115 GB, free: 6.863 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003154/1.163, allocations: 1.71 MB / 1.116 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/1.163, allocations: 158.1 kB / 1.116 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/1.167, allocations: 2.23 MB / 1.119 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.167, allocations: 8 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.167, allocations: 4 kB / 1.119 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.167, allocations: 3.984 kB / 1.119 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.185, allocations: 10.98 MB / 1.129 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/1.185, allocations: 8 kB / 1.129 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.186, allocations: 391.3 kB / 1.13 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/1.187, allocations: 16 kB / 1.13 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.187, allocations: 28 kB / 1.13 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.679e-05/1.187, allocations: 27.86 kB / 1.13 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/1.187, allocations: 19.94 kB / 1.13 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/1.19, allocations: 2.748 MB / 1.132 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009619/1.191, allocations: 474.7 kB / 1.133 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.192, allocations: 35.98 kB / 1.133 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.193, allocations: 167.7 kB / 1.133 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.193, allocations: 100.2 kB / 1.133 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/1.193, allocations: 36 kB / 1.133 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001727/1.195, allocations: 0.9586 MB / 1.134 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.195, allocations: 0 / 1.134 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005375/1.201, allocations: 1.129 MB / 1.135 GB, free: 1.203 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003734/1.201, allocations: 150.9 kB / 1.135 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006883/1.208, allocations: 3.965 MB / 1.139 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.208, allocations: 0 / 1.139 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.209, allocations: 1.056 MB / 1.14 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.212, allocations: 406.8 kB / 1.141 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.228, allocations: 8.482 MB / 1.149 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/1.232, allocations: 2.864 MB / 1.152 GB, free: 88 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003303/1.236, allocations: 1.207 MB / 1.153 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/1.236, allocations: 123.4 kB / 1.153 GB, free: 14.75 MB / 0.92 GB Notification: Performance of SimCode: time 1.152e-06/1.236, allocations: 0 / 1.153 GB, free: 14.75 MB / 0.92 GB Notification: Performance of Templates: time 0.04396/1.28, allocations: 22.9 MB / 1.175 GB, free: 8.055 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches