Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007553/0.007553, allocations: 107 kB / 15.74 MB, free: 6.449 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.001638/0.001638, allocations: 197 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 62.72 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2908, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03804/0.3289, allocations: 33.32 MB / 1.12 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.3546, allocations: 14.83 MB / 1.135 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/0.3588, allocations: 155.2 kB / 1.135 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.3692, allocations: 3.663 MB / 1.138 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009685/0.3789, allocations: 2.881 MB / 1.141 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00734/0.3863, allocations: 2.339 MB / 1.143 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.4007, allocations: 8.803 MB / 1.152 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01683/0.4176, allocations: 9.581 MB / 1.161 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007783/0.4254, allocations: 4.016 MB / 1.165 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008342/0.4338, allocations: 4.038 MB / 1.169 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00287/0.4367, allocations: 0.7187 MB / 1.17 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.4426, allocations: 1.72 MB / 1.172 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004887/0.4475, allocations: 2.826 MB / 1.174 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.007561/0.4551, allocations: 3.388 MB / 1.178 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.4698, allocations: 11.19 MB / 1.189 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.4698, allocations: 0 / 1.189 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4699, allocations: 0 / 1.189 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000383/0.4702, allocations: 0 / 1.189 GB, free: 10.08 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01756/0.4878, allocations: 5.983 MB / 1.194 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4879, allocations: 8.031 kB / 1.194 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002492/0.4904, allocations: 0.7309 MB / 1.195 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008042/0.4984, allocations: 1.149 MB / 1.196 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008691/0.5072, allocations: 3.512 MB / 1.2 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.5076, allocations: 374.4 kB / 1.2 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.5096, allocations: 499.8 kB / 1.2 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.5299, allocations: 8.005 MB / 1.208 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002573/0.5302, allocations: 19.84 kB / 1.208 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.5317, allocations: 216 kB / 1.209 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/0.5329, allocations: 437.5 kB / 1.209 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.5458, allocations: 6.089 MB / 1.215 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04486/0.5907, allocations: 34.89 MB / 1.249 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.5941, allocations: 2.025 MB / 1.251 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.5972, allocations: 1.881 MB / 1.253 GB, free: 4.652 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.5974, allocations: 18 kB / 1.253 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.94e-05/0.5975, allocations: 64.39 kB / 1.253 GB, free: 4.562 MB / 1.014 GB Notification: Performance of pre-optimization done (n=171): time 4.93e-06/0.5975, allocations: 0 / 1.253 GB, free: 4.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=276): time 0.7126/1.31, allocations: 38.89 MB / 1.291 GB, free: 149 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.31, allocations: 77.11 kB / 1.291 GB, free: 148.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/1.314, allocations: 2.28 MB / 1.293 GB, free: 147.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000298/1.314, allocations: 71.39 kB / 1.293 GB, free: 147.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.315, allocations: 2.282 MB / 1.295 GB, free: 145.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008412/1.316, allocations: 0.9335 MB / 1.296 GB, free: 144.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.317, allocations: 0.5066 MB / 1.297 GB, free: 144.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/1.317, allocations: 313 kB / 1.297 GB, free: 144.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/1.32, allocations: 1.971 MB / 1.299 GB, free: 143.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/1.322, allocations: 2.596 MB / 1.302 GB, free: 141.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/1.328, allocations: 4.932 MB / 1.306 GB, free: 138.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.328, allocations: 3.781 kB / 1.306 GB, free: 138.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01255/1.34, allocations: 7.759 MB / 1.314 GB, free: 132 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/1.34, allocations: 12 kB / 1.314 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.34, allocations: 23.19 kB / 1.314 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008174/1.349, allocations: 3.21 MB / 1.317 GB, free: 128.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.35, allocations: 399.3 kB / 1.318 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03542/1.386, allocations: 33.86 MB / 1.351 GB, free: 93.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/1.389, allocations: 170.1 kB / 1.351 GB, free: 93.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/1.389, allocations: 108 kB / 1.351 GB, free: 93.39 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002808/1.392, allocations: 1.797 MB / 1.353 GB, free: 91.58 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007587/1.393, allocations: 328.1 kB / 1.353 GB, free: 91.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.404, allocations: 7.357 MB / 1.36 GB, free: 83.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.404, allocations: 28 kB / 1.36 GB, free: 83.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.092e-05/1.405, allocations: 33.44 kB / 1.36 GB, free: 83.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/1.405, allocations: 11.95 kB / 1.36 GB, free: 83.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02272/1.427, allocations: 12.93 MB / 1.373 GB, free: 70.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/1.427, allocations: 8.031 kB / 1.373 GB, free: 70.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/1.428, allocations: 231.6 kB / 1.373 GB, free: 70.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007307/1.436, allocations: 2.848 MB / 1.376 GB, free: 67.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.436, allocations: 52 kB / 1.376 GB, free: 67.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03423/1.47, allocations: 32.68 MB / 1.408 GB, free: 34.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/1.47, allocations: 8 kB / 1.408 GB, free: 34.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.482, allocations: 6.883 MB / 1.415 GB, free: 26.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/1.484, allocations: 0.7744 MB / 1.415 GB, free: 26.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008326/1.485, allocations: 52 kB / 1.415 GB, free: 26.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.487, allocations: 171.7 kB / 1.415 GB, free: 25.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/1.488, allocations: 257.5 kB / 1.416 GB, free: 25.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.489, allocations: 79.56 kB / 1.416 GB, free: 25.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002224/1.491, allocations: 1.525 MB / 1.417 GB, free: 24.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.603e-06/1.491, allocations: 0 / 1.417 GB, free: 24.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004736/1.495, allocations: 1.373 MB / 1.419 GB, free: 22.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0108/1.506, allocations: 7.515 MB / 1.426 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009704/1.516, allocations: 6.929 MB / 1.433 GB, free: 7.953 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.516, allocations: 11 kB / 1.433 GB, free: 7.945 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006596/1.523, allocations: 4.406 MB / 1.437 GB, free: 3.457 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005748/1.528, allocations: 1.11 MB / 1.438 GB, free: 2.414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07393/1.602, allocations: 39.02 MB / 1.476 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005904/1.608, allocations: 3.647 MB / 1.48 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002435/1.611, allocations: 0.5634 MB / 1.48 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002742/1.614, allocations: 1.972 MB / 1.482 GB, free: 4.105 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.614, allocations: 0 / 1.482 GB, free: 4.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1908/1.804, allocations: 113.4 MB / 1.593 GB, free: 3.871 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.8, allocations: 3.75 kB / 1.593 GB, free: 3.867 MB / 1.17 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches