Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.009807/0.009807, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001761/0.001762, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.84 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7448, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03628/0.7811, allocations: 23.43 MB / 1.189 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.7922, allocations: 6.48 MB / 1.195 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.7941, allocations: 95.56 kB / 1.195 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.798, allocations: 1.498 MB / 1.197 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.8022, allocations: 1.929 MB / 1.199 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.8055, allocations: 1.474 MB / 1.2 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00852/0.814, allocations: 6.912 MB / 1.207 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008819/0.8229, allocations: 6.95 MB / 1.214 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.827, allocations: 2.878 MB / 1.217 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004932/0.8319, allocations: 3.466 MB / 1.22 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.8334, allocations: 0.5273 MB / 1.22 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.8366, allocations: 1.182 MB / 1.222 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003314/0.8399, allocations: 2.464 MB / 1.224 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004363/0.8443, allocations: 2.532 MB / 1.227 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.8528, allocations: 8.538 MB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.8529, allocations: 4 kB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8529, allocations: 0 / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001995/0.8531, allocations: 3.938 kB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007986/0.8611, allocations: 4.547 MB / 1.239 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8611, allocations: 8.625 kB / 1.239 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007585/0.8619, allocations: 0.5714 MB / 1.24 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/0.8704, allocations: 1.703 MB / 1.242 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/0.8759, allocations: 2.713 MB / 1.244 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.8761, allocations: 279.7 kB / 1.244 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000705/0.8768, allocations: 360.3 kB / 1.245 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.8887, allocations: 7.494 MB / 1.252 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.8889, allocations: 11.88 kB / 1.252 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006667/0.8895, allocations: 159.9 kB / 1.252 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/0.8901, allocations: 483.3 kB / 1.253 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00918/0.8993, allocations: 5.697 MB / 1.258 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/0.9339, allocations: 31.55 MB / 1.289 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.9367, allocations: 2.09 MB / 1.291 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.9396, allocations: 2.178 MB / 1.293 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.9398, allocations: 17.31 kB / 1.293 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.9398, allocations: 43.88 kB / 1.293 GB, free: 14.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 2.986e-06/0.9398, allocations: 0 / 1.293 GB, free: 14.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3057/1.245, allocations: 77.08 MB / 1.369 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.246, allocations: 77.41 kB / 1.369 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/1.248, allocations: 1.678 MB / 1.37 GB, free: 14.99 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/1.248, allocations: 61.7 kB / 1.37 GB, free: 14.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.249, allocations: 1.795 MB / 1.372 GB, free: 13.12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009152/1.25, allocations: 0.8946 MB / 1.373 GB, free: 12.21 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/1.251, allocations: 493.3 kB / 1.373 GB, free: 11.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/1.252, allocations: 301.1 kB / 1.374 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/1.255, allocations: 2.726 MB / 1.376 GB, free: 8.699 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/1.259, allocations: 3.332 MB / 1.38 GB, free: 5.121 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008088/1.267, allocations: 6.397 MB / 1.386 GB, free: 14.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.267, allocations: 11.83 kB / 1.386 GB, free: 14.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03234/1.3, allocations: 14.68 MB / 1.4 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.3, allocations: 12 kB / 1.4 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/1.3, allocations: 19.98 kB / 1.4 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02938/1.329, allocations: 9.247 MB / 1.409 GB, free: 6.441 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.331, allocations: 295.5 kB / 1.41 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07899/1.41, allocations: 52.41 MB / 1.461 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/1.413, allocations: 227.7 kB / 1.461 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/1.413, allocations: 96 kB / 1.461 GB, free: 0.543 MB / 1.186 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002701/1.416, allocations: 1.575 MB / 1.463 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/1.417, allocations: 262.5 kB / 1.463 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03224/1.449, allocations: 14.77 MB / 1.477 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.449, allocations: 24 kB / 1.477 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001463/1.449, allocations: 48 kB / 1.477 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/1.449, allocations: 11.95 kB / 1.477 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04328/1.493, allocations: 20.52 MB / 1.497 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/1.493, allocations: 7.938 kB / 1.497 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/1.493, allocations: 163.7 kB / 1.498 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02919/1.523, allocations: 9.007 MB / 1.506 GB, free: 1.871 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.523, allocations: 48 kB / 1.506 GB, free: 1.824 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6086/2.132, allocations: 51.95 MB / 1.557 GB, free: 360.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/2.132, allocations: 10.31 kB / 1.557 GB, free: 360.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03/2.162, allocations: 14.38 MB / 1.571 GB, free: 359.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/2.164, allocations: 0.8603 MB / 1.572 GB, free: 359.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/2.165, allocations: 51.12 kB / 1.572 GB, free: 359.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/2.167, allocations: 208 kB / 1.572 GB, free: 359.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/2.168, allocations: 243.3 kB / 1.573 GB, free: 359.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/2.168, allocations: 62.69 kB / 1.573 GB, free: 359.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001259/2.169, allocations: 1.126 MB / 1.574 GB, free: 359 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/2.169, allocations: 0 / 1.574 GB, free: 359 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004053/2.173, allocations: 1.619 MB / 1.575 GB, free: 358.9 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02801/2.201, allocations: 14.99 MB / 1.59 GB, free: 352.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02007/2.222, allocations: 10.59 MB / 1.6 GB, free: 342.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/2.222, allocations: 0 / 1.6 GB, free: 342.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/2.238, allocations: 7.328 MB / 1.607 GB, free: 335.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/2.241, allocations: 0.5558 MB / 1.608 GB, free: 335.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08722/2.328, allocations: 50.97 MB / 1.658 GB, free: 283.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004308/2.332, allocations: 3.235 MB / 1.661 GB, free: 279.9 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001074/2.333, allocations: 391.3 kB / 1.661 GB, free: 279.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/2.335, allocations: 1.464 MB / 1.663 GB, free: 278 MB / 1.279 GB Notification: Performance of SimCode: time 9.61e-07/2.335, allocations: 0 / 1.663 GB, free: 278 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/2.508, allocations: 120.8 MB / 1.781 GB, free: 157.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.47, allocations: 64 / 1.781 GB, free: 157.7 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches