Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.00821/0.00821, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001429/0.001429, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 72.11 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2893, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03657/0.3259, allocations: 34.86 MB / 1.241 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5976/0.9235, allocations: 11.47 MB / 1.253 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/0.9276, allocations: 163 kB / 1.253 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.9374, allocations: 4.258 MB / 1.257 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.9433, allocations: 1.989 MB / 1.259 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.9499, allocations: 2.401 MB / 1.261 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.9613, allocations: 8.465 MB / 1.269 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01799/0.9794, allocations: 11.13 MB / 1.28 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008234/0.9876, allocations: 3.795 MB / 1.284 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00869/0.9964, allocations: 4.188 MB / 1.288 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00341/0.9998, allocations: 0.7787 MB / 1.289 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/1.007, allocations: 2.026 MB / 1.291 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007411/1.014, allocations: 3.058 MB / 1.294 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/1.025, allocations: 3.393 MB / 1.297 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/1.047, allocations: 11.99 MB / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/1.047, allocations: 0 / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.314e-06/1.047, allocations: 0 / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004796/1.048, allocations: 0 / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02292/1.07, allocations: 5.808 MB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.071, allocations: 14.62 kB / 1.315 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003676/1.074, allocations: 0.8048 MB / 1.315 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008362/1.083, allocations: 1.06 MB / 1.316 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.095, allocations: 3.45 MB / 1.32 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007528/1.096, allocations: 419.6 kB / 1.32 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/1.099, allocations: 0.53 MB / 1.321 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/1.126, allocations: 9.078 MB / 1.329 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004021/1.127, allocations: 34.52 kB / 1.33 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002508/1.129, allocations: 234.8 kB / 1.33 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005331/1.13, allocations: 352.3 kB / 1.33 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/1.146, allocations: 6.828 MB / 1.337 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05512/1.201, allocations: 39.79 MB / 1.376 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/1.206, allocations: 3.117 MB / 1.379 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003009/1.209, allocations: 1.986 MB / 1.381 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/1.209, allocations: 18 kB / 1.381 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.209, allocations: 56.55 kB / 1.381 GB, free: 15.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 3.987e-06/1.209, allocations: 0 / 1.381 GB, free: 15.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02634/1.235, allocations: 9.981 MB / 1.39 GB, free: 5.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.235, allocations: 69.41 kB / 1.39 GB, free: 5.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/1.238, allocations: 1.518 MB / 1.392 GB, free: 4.051 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/1.238, allocations: 53.7 kB / 1.392 GB, free: 3.992 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.24, allocations: 2.259 MB / 1.394 GB, free: 1.711 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007433/1.24, allocations: 0.6251 MB / 1.395 GB, free: 1.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/1.241, allocations: 407.9 kB / 1.395 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/1.241, allocations: 309.1 kB / 1.396 GB, free: 388 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.243, allocations: 1.179 MB / 1.397 GB, free: 15.2 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/1.245, allocations: 1.882 MB / 1.398 GB, free: 13 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/1.25, allocations: 3.371 MB / 1.402 GB, free: 9.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/1.25, allocations: 8 kB / 1.402 GB, free: 9.312 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00813/1.258, allocations: 4.572 MB / 1.406 GB, free: 4.715 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/1.258, allocations: 13 kB / 1.406 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/1.258, allocations: 24 kB / 1.406 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/1.262, allocations: 1.589 MB / 1.408 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.263, allocations: 351.4 kB / 1.408 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/1.286, allocations: 18.59 MB / 1.426 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.288, allocations: 119.9 kB / 1.426 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.289, allocations: 99.98 kB / 1.427 GB, free: 15.4 MB / 1.123 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003916/1.293, allocations: 1.891 MB / 1.428 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006823/1.294, allocations: 221.4 kB / 1.429 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/1.301, allocations: 4.098 MB / 1.433 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.301, allocations: 16 kB / 1.433 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-05/1.301, allocations: 20 kB / 1.433 GB, free: 9.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/1.301, allocations: 11.97 kB / 1.433 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.32, allocations: 9.465 MB / 1.442 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.321, allocations: 4 kB / 1.442 GB, free: 15.42 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/1.321, allocations: 179.7 kB / 1.442 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/1.325, allocations: 1.359 MB / 1.443 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/1.325, allocations: 36.25 kB / 1.443 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/1.346, allocations: 17.35 MB / 1.46 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.346, allocations: 8.125 kB / 1.46 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00714/1.353, allocations: 4.082 MB / 1.464 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.355, allocations: 0.5256 MB / 1.465 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006399/1.355, allocations: 36 kB / 1.465 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.357, allocations: 87.89 kB / 1.465 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005442/1.357, allocations: 157.7 kB / 1.465 GB, free: 6.941 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.357, allocations: 52 kB / 1.465 GB, free: 6.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001744/1.359, allocations: 1.001 MB / 1.466 GB, free: 5.867 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.71e-07/1.359, allocations: 0 / 1.466 GB, free: 5.867 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003958/1.363, allocations: 0.9883 MB / 1.467 GB, free: 4.879 MB / 1.154 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007266/1.37, allocations: 4.671 MB / 1.472 GB, free: 112 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007249/1.378, allocations: 4.315 MB / 1.476 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.378, allocations: 0 / 1.476 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004488/1.382, allocations: 2.659 MB / 1.479 GB, free: 9.035 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.387, allocations: 0.7721 MB / 1.479 GB, free: 8.293 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/1.441, allocations: 26.84 MB / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007148/1.448, allocations: 3.569 MB / 1.509 GB, free: 8.801 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001721/1.45, allocations: 467.7 kB / 1.509 GB, free: 8.344 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/1.453, allocations: 1.788 MB / 1.511 GB, free: 6.555 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/1.453, allocations: 0 / 1.511 GB, free: 6.555 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1342/1.587, allocations: 74.58 MB / 1.584 GB, free: 12.72 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.41, allocations: 10.45 kB / 1.584 GB, free: 12.71 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches