Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 69.62 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2599, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04098/0.3009, allocations: 37.97 MB / 1.101 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.3181, allocations: 10.98 MB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.3208, allocations: 159.2 kB / 1.112 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009797/0.3306, allocations: 4.358 MB / 1.116 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.3358, allocations: 2.227 MB / 1.118 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.3406, allocations: 2.165 MB / 1.121 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00983/0.3504, allocations: 9.276 MB / 1.13 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.3649, allocations: 11.36 MB / 1.141 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.3705, allocations: 3.977 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006294/0.3768, allocations: 4.502 MB / 1.149 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001976/0.3788, allocations: 0.8203 MB / 1.15 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.3825, allocations: 1.596 MB / 1.151 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.3858, allocations: 3.146 MB / 1.154 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003841/0.3896, allocations: 3.653 MB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.3999, allocations: 12.24 MB / 1.17 GB, free: 1.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3999, allocations: 0 / 1.17 GB, free: 1.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3999, allocations: 0 / 1.17 GB, free: 1.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002057/0.4001, allocations: 0 / 1.17 GB, free: 1.402 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0114/0.4115, allocations: 6.318 MB / 1.176 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4116, allocations: 12.03 kB / 1.176 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.4126, allocations: 0.8255 MB / 1.177 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/0.417, allocations: 1.067 MB / 1.178 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.422, allocations: 3.419 MB / 1.181 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.4223, allocations: 427.7 kB / 1.182 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007426/0.4231, allocations: 0.5471 MB / 1.182 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.436, allocations: 9.373 MB / 1.191 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.627e-05/0.4362, allocations: 15.88 kB / 1.191 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005247/0.4367, allocations: 251.9 kB / 1.192 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005544/0.4373, allocations: 426.9 kB / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.4488, allocations: 7.119 MB / 1.199 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04268/0.4915, allocations: 41.32 MB / 1.239 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.4959, allocations: 3.1 MB / 1.242 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.4987, allocations: 2.133 MB / 1.245 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.4988, allocations: 25.98 kB / 1.245 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.4989, allocations: 60.56 kB / 1.245 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 6.042e-06/0.4989, allocations: 3.984 kB / 1.245 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.4067/0.9056, allocations: 10.56 MB / 1.255 GB, free: 166 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.9057, allocations: 72.97 kB / 1.255 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.9078, allocations: 2.005 MB / 1.257 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.9079, allocations: 66.64 kB / 1.257 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.909, allocations: 2.403 MB / 1.259 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.9095, allocations: 0.726 MB / 1.26 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005935/0.9101, allocations: 479.2 kB / 1.261 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.9101, allocations: 305.8 kB / 1.261 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.9117, allocations: 1.376 MB / 1.262 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.914, allocations: 2.106 MB / 1.264 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.9182, allocations: 3.761 MB / 1.268 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.9182, allocations: 6.812 kB / 1.268 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007137/0.9254, allocations: 5.07 MB / 1.273 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.9254, allocations: 16.59 kB / 1.273 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.9255, allocations: 21.59 kB / 1.273 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.9286, allocations: 1.595 MB / 1.274 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.93, allocations: 460.1 kB / 1.275 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.9475, allocations: 18.58 MB / 1.293 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.9494, allocations: 143.3 kB / 1.293 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.9496, allocations: 109.8 kB / 1.293 GB, free: 145.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002365/0.952, allocations: 1.942 MB / 1.295 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.9523, allocations: 289.5 kB / 1.295 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.9574, allocations: 4.447 MB / 1.3 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.9575, allocations: 26.02 kB / 1.3 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.9575, allocations: 19.62 kB / 1.3 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.9575, allocations: 7.969 kB / 1.3 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.9677, allocations: 9.67 MB / 1.309 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.9677, allocations: 7.531 kB / 1.309 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.9685, allocations: 236.9 kB / 1.31 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.971, allocations: 1.43 MB / 1.311 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.9711, allocations: 39.25 kB / 1.311 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.9859, allocations: 18.58 MB / 1.329 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9859, allocations: 11.88 kB / 1.329 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/0.9908, allocations: 4.537 MB / 1.334 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.9916, allocations: 0.6342 MB / 1.334 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.9919, allocations: 47.94 kB / 1.334 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.993, allocations: 115.9 kB / 1.334 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.9934, allocations: 181.4 kB / 1.334 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.9935, allocations: 60 kB / 1.335 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001255/0.9947, allocations: 1.315 MB / 1.336 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9947, allocations: 6.625 kB / 1.336 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002384/0.9971, allocations: 1.141 MB / 1.337 GB, free: 110.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004873/1.002, allocations: 5.156 MB / 1.342 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006834/1.009, allocations: 5.916 MB / 1.348 GB, free: 99.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.009, allocations: 4 kB / 1.348 GB, free: 99.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/1.012, allocations: 2.907 MB / 1.351 GB, free: 96.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.015, allocations: 0.8841 MB / 1.351 GB, free: 95.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/1.047, allocations: 33.64 MB / 1.384 GB, free: 59.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003713/1.05, allocations: 3.694 MB / 1.388 GB, free: 55.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001636/1.052, allocations: 0.5586 MB / 1.388 GB, free: 54.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.054, allocations: 1.944 MB / 1.39 GB, free: 52.88 MB / 0.9981 GB Notification: Performance of SimCode: time 1.653e-06/1.054, allocations: 0 / 1.39 GB, free: 52.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/2.088, allocations: 85.69 MB / 1.474 GB, free: 128 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.7, allocations: 7.609 kB / 1.474 GB, free: 120 kB / 1.029 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches