Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_N,fileNamePrefix="Buildings_11_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_11_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.00772/0.00772, allocations: 99.73 kB / 15.73 MB, free: 5.977 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.001983/0.001983, allocations: 197 kB / 16.68 MB, free: 5.906 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.578/2.578, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.001811, allocations: 71.83 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7168, allocations: 159.1 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03698/0.7538, allocations: 33.33 MB / 1.253 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.777, allocations: 14.83 MB / 1.267 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.7804, allocations: 159.2 kB / 1.267 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009325/0.7898, allocations: 3.66 MB / 1.271 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009623/0.7994, allocations: 2.886 MB / 1.274 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007098/0.8065, allocations: 2.317 MB / 1.276 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.8188, allocations: 8.818 MB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.8331, allocations: 9.574 MB / 1.294 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/0.8399, allocations: 3.961 MB / 1.298 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00676/0.8467, allocations: 4.034 MB / 1.302 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.8489, allocations: 0.7188 MB / 1.302 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.8537, allocations: 1.716 MB / 1.304 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004129/0.8579, allocations: 2.826 MB / 1.307 GB, free: 8.801 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00581/0.8637, allocations: 3.396 MB / 1.31 GB, free: 5.391 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.8767, allocations: 11.21 MB / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8768, allocations: 0 / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8768, allocations: 0 / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002901/0.8771, allocations: 0 / 1.321 GB, free: 10.14 MB / 1.045 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.01354/0.8906, allocations: 6.14 MB / 1.327 GB, free: 3.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8907, allocations: 12.62 kB / 1.327 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.8919, allocations: 0.7271 MB / 1.328 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/0.8985, allocations: 1.16 MB / 1.329 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/0.9056, allocations: 3.538 MB / 1.332 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.906, allocations: 378.4 kB / 1.333 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.907, allocations: 495.9 kB / 1.333 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.9212, allocations: 8.009 MB / 1.341 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.9214, allocations: 23.66 kB / 1.341 GB, free: 5.223 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005453/0.9219, allocations: 216 kB / 1.341 GB, free: 5.012 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/0.923, allocations: 441.5 kB / 1.342 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.9337, allocations: 6.085 MB / 1.348 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.9732, allocations: 34.95 MB / 1.382 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.976, allocations: 2.026 MB / 1.384 GB, free: 6.324 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.9785, allocations: 1.865 MB / 1.386 GB, free: 4.461 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.9786, allocations: 18 kB / 1.386 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.9787, allocations: 68.48 kB / 1.386 GB, free: 4.367 MB / 1.107 GB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/0.9787, allocations: 0 / 1.386 GB, free: 4.367 MB / 1.107 GB Notification: Performance of matching and sorting (n=276): time 0.1504/1.129, allocations: 38.96 MB / 1.424 GB, free: 13.3 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/1.129, allocations: 81.52 kB / 1.424 GB, free: 13.21 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.132, allocations: 2.286 MB / 1.426 GB, free: 10.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003234/1.133, allocations: 73.7 kB / 1.426 GB, free: 10.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/1.135, allocations: 2.33 MB / 1.428 GB, free: 8.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/1.135, allocations: 0.9837 MB / 1.429 GB, free: 7.488 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009382/1.136, allocations: 0.5102 MB / 1.43 GB, free: 6.969 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.137, allocations: 313 kB / 1.43 GB, free: 6.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/1.139, allocations: 1.97 MB / 1.432 GB, free: 4.688 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/1.143, allocations: 2.606 MB / 1.435 GB, free: 1.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/1.15, allocations: 4.929 MB / 1.439 GB, free: 12.63 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.15, allocations: 8 kB / 1.44 GB, free: 12.62 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01475/1.164, allocations: 7.775 MB / 1.447 GB, free: 4.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/1.164, allocations: 12 kB / 1.447 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.164, allocations: 16 kB / 1.447 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009297/1.174, allocations: 3.213 MB / 1.45 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.175, allocations: 407.2 kB / 1.451 GB, free: 1.125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04719/1.223, allocations: 33.91 MB / 1.484 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/1.226, allocations: 163.8 kB / 1.484 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/1.226, allocations: 112 kB / 1.484 GB, free: 14.09 MB / 1.217 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.003426/1.229, allocations: 1.797 MB / 1.486 GB, free: 12.28 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/1.23, allocations: 349.8 kB / 1.486 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.244, allocations: 7.357 MB / 1.493 GB, free: 4.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.244, allocations: 28 kB / 1.493 GB, free: 4.473 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/1.245, allocations: 28 kB / 1.493 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/1.245, allocations: 11.95 kB / 1.493 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/1.267, allocations: 12.92 MB / 1.506 GB, free: 7.336 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.267, allocations: 8 kB / 1.506 GB, free: 7.328 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/1.268, allocations: 228.4 kB / 1.506 GB, free: 7.109 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00797/1.276, allocations: 2.86 MB / 1.509 GB, free: 4.23 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.276, allocations: 52 kB / 1.509 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04387/1.32, allocations: 32.69 MB / 1.541 GB, free: 2.633 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.32, allocations: 11.94 kB / 1.541 GB, free: 2.621 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.333, allocations: 6.904 MB / 1.548 GB, free: 11.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.335, allocations: 0.7956 MB / 1.549 GB, free: 10.69 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/1.335, allocations: 55.98 kB / 1.549 GB, free: 10.63 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.337, allocations: 167.8 kB / 1.549 GB, free: 10.47 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008529/1.338, allocations: 249.5 kB / 1.549 GB, free: 10.22 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.338, allocations: 76 kB / 1.549 GB, free: 10.15 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002127/1.34, allocations: 1.525 MB / 1.551 GB, free: 8.621 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/1.34, allocations: 0 / 1.551 GB, free: 8.621 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003838/1.344, allocations: 1.375 MB / 1.552 GB, free: 7.246 MB / 1.279 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.5969/1.941, allocations: 7.522 MB / 1.559 GB, free: 307.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.953, allocations: 6.945 MB / 1.566 GB, free: 306.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.953, allocations: 2.219 kB / 1.566 GB, free: 306.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/1.96, allocations: 4.429 MB / 1.57 GB, free: 305.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.964, allocations: 1.106 MB / 1.571 GB, free: 305.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05407/2.019, allocations: 39.2 MB / 1.61 GB, free: 288.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/2.022, allocations: 3.644 MB / 1.613 GB, free: 285.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001994/2.024, allocations: 0.5537 MB / 1.614 GB, free: 285 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/2.026, allocations: 1.982 MB / 1.616 GB, free: 283.1 MB / 1.279 GB Notification: Performance of SimCode: time 6.91e-07/2.026, allocations: 4 kB / 1.616 GB, free: 283.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/2.17, allocations: 111.6 MB / 1.725 GB, free: 174.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/18.49, allocations: 13.03 kB / 1.725 GB, free: 174.3 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches