Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_N,fileNamePrefix="Buildings_latest_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_latest_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.007279/0.007279, allocations: 104.4 kB / 15.74 MB, free: 6.039 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.001749/0.001749, allocations: 195.4 kB / 16.68 MB, free: 5.957 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.84 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7855, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03749/0.8231, allocations: 33.35 MB / 1.24 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.8478, allocations: 14.82 MB / 1.254 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/0.8525, allocations: 155.2 kB / 1.254 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00979/0.8624, allocations: 3.651 MB / 1.258 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008529/0.8709, allocations: 2.889 MB / 1.261 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006677/0.8776, allocations: 2.323 MB / 1.263 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.8894, allocations: 8.821 MB / 1.272 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01556/0.905, allocations: 9.567 MB / 1.281 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007129/0.9122, allocations: 4.02 MB / 1.285 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007259/0.9195, allocations: 4.042 MB / 1.289 GB, free: 9.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00258/0.9221, allocations: 0.7148 MB / 1.29 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.927, allocations: 1.716 MB / 1.291 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00462/0.9317, allocations: 2.83 MB / 1.294 GB, free: 4.309 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006887/0.9386, allocations: 3.396 MB / 1.297 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.9536, allocations: 11.18 MB / 1.308 GB, free: 5.684 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.9537, allocations: 4 kB / 1.308 GB, free: 5.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9537, allocations: 0 / 1.308 GB, free: 5.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003794/0.9541, allocations: 0 / 1.308 GB, free: 5.68 MB / 1.029 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.01607/0.9701, allocations: 5.975 MB / 1.314 GB, free: 15.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9702, allocations: 8.031 kB / 1.314 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002308/0.9725, allocations: 0.7271 MB / 1.315 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/0.9802, allocations: 1.138 MB / 1.316 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008865/0.9891, allocations: 3.524 MB / 1.319 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.9895, allocations: 374.4 kB / 1.32 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/0.9913, allocations: 499.8 kB / 1.32 GB, free: 9.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/1.009, allocations: 8.001 MB / 1.328 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/1.009, allocations: 19.78 kB / 1.328 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/1.011, allocations: 216 kB / 1.328 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/1.012, allocations: 453.4 kB / 1.329 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.024, allocations: 6.081 MB / 1.335 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/1.069, allocations: 34.89 MB / 1.369 GB, free: 4.152 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/1.072, allocations: 2.022 MB / 1.371 GB, free: 2.125 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/1.074, allocations: 1.869 MB / 1.373 GB, free: 260 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/1.075, allocations: 18 kB / 1.373 GB, free: 244 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.075, allocations: 60.5 kB / 1.373 GB, free: 172 kB / 1.092 GB Notification: Performance of pre-optimization done (n=171): time 3.767e-06/1.075, allocations: 0 / 1.373 GB, free: 172 kB / 1.092 GB Notification: Performance of matching and sorting (n=276): time 0.1514/1.226, allocations: 38.9 MB / 1.411 GB, free: 9.164 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.226, allocations: 81.58 kB / 1.411 GB, free: 9.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.23, allocations: 2.278 MB / 1.413 GB, free: 6.777 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004127/1.23, allocations: 69.7 kB / 1.413 GB, free: 6.703 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.232, allocations: 2.288 MB / 1.415 GB, free: 4.391 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.233, allocations: 0.9319 MB / 1.416 GB, free: 3.445 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.234, allocations: 0.5022 MB / 1.417 GB, free: 2.934 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/1.234, allocations: 305.1 kB / 1.417 GB, free: 2.633 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/1.237, allocations: 1.973 MB / 1.419 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/1.241, allocations: 2.606 MB / 1.421 GB, free: 13.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006568/1.247, allocations: 4.929 MB / 1.426 GB, free: 8.602 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.247, allocations: 8 kB / 1.426 GB, free: 8.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.015/1.262, allocations: 7.753 MB / 1.434 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.262, allocations: 12 kB / 1.434 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.262, allocations: 20 kB / 1.434 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009301/1.272, allocations: 3.211 MB / 1.437 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.273, allocations: 403.2 kB / 1.437 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04378/1.317, allocations: 33.86 MB / 1.47 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/1.32, allocations: 163.8 kB / 1.471 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/1.321, allocations: 108.1 kB / 1.471 GB, free: 10.13 MB / 1.201 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.003499/1.324, allocations: 1.804 MB / 1.472 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009077/1.325, allocations: 332 kB / 1.473 GB, free: 7.988 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/1.34, allocations: 7.364 MB / 1.48 GB, free: 0.543 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/1.34, allocations: 24 kB / 1.48 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.462e-05/1.34, allocations: 36 kB / 1.48 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/1.34, allocations: 11.95 kB / 1.48 GB, free: 484 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/1.365, allocations: 12.91 MB / 1.493 GB, free: 3.383 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.365, allocations: 8.109 kB / 1.493 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.366, allocations: 239.6 kB / 1.493 GB, free: 3.141 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008124/1.374, allocations: 2.849 MB / 1.496 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.375, allocations: 52.38 kB / 1.496 GB, free: 228 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04244/1.417, allocations: 32.66 MB / 1.528 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/1.417, allocations: 20.06 kB / 1.528 GB, free: 14.69 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.431, allocations: 6.886 MB / 1.534 GB, free: 7.59 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.433, allocations: 0.7783 MB / 1.535 GB, free: 6.789 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/1.434, allocations: 67.92 kB / 1.535 GB, free: 6.723 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.436, allocations: 167.8 kB / 1.535 GB, free: 6.559 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009621/1.437, allocations: 249.5 kB / 1.536 GB, free: 6.316 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/1.438, allocations: 79.94 kB / 1.536 GB, free: 6.238 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002774/1.44, allocations: 1.529 MB / 1.537 GB, free: 4.707 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.4e-07/1.44, allocations: 0 / 1.537 GB, free: 4.707 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005034/1.445, allocations: 1.367 MB / 1.538 GB, free: 3.34 MB / 1.264 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.0132/1.459, allocations: 7.508 MB / 1.546 GB, free: 11.61 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.472, allocations: 6.924 MB / 1.553 GB, free: 4.586 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.472, allocations: 7.938 kB / 1.553 GB, free: 4.578 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.008381/1.481, allocations: 4.394 MB / 1.557 GB, free: 108 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6029/2.084, allocations: 1.108 MB / 1.558 GB, free: 325 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07187/2.155, allocations: 39.03 MB / 1.596 GB, free: 312.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006202/2.162, allocations: 3.639 MB / 1.6 GB, free: 309.9 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002569/2.164, allocations: 0.5645 MB / 1.6 GB, free: 309.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/2.167, allocations: 1.973 MB / 1.602 GB, free: 307.6 MB / 1.279 GB Notification: Performance of SimCode: time 8.71e-07/2.167, allocations: 0 / 1.602 GB, free: 307.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/2.32, allocations: 113.4 MB / 1.713 GB, free: 197.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/17.89, allocations: 9.719 kB / 1.713 GB, free: 197.1 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches