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.007422/0.007422, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001614/0.001614, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.51/2.51, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6911, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02468/0.7158, allocations: 23.42 MB / 1.189 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.7264, allocations: 6.488 MB / 1.195 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.7281, allocations: 99.5 kB / 1.195 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.732, allocations: 1.483 MB / 1.197 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.736, allocations: 1.824 MB / 1.199 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.7392, allocations: 1.47 MB / 1.2 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006798/0.746, allocations: 6.908 MB / 1.207 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00843/0.7545, allocations: 6.937 MB / 1.214 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.7586, allocations: 2.847 MB / 1.216 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.7639, allocations: 3.474 MB / 1.22 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.7652, allocations: 0.5273 MB / 1.22 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.7685, allocations: 1.178 MB / 1.221 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003651/0.7722, allocations: 2.46 MB / 1.224 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004365/0.7765, allocations: 2.532 MB / 1.226 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.7854, allocations: 8.518 MB / 1.235 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7855, allocations: 4 kB / 1.235 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7855, allocations: 4 kB / 1.235 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002363/0.7857, allocations: 4 kB / 1.235 GB, free: 13.28 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.008939/0.7947, allocations: 4.429 MB / 1.239 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7947, allocations: 8.625 kB / 1.239 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007794/0.7955, allocations: 0.5714 MB / 1.24 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.804, allocations: 1.685 MB / 1.241 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/0.8101, allocations: 2.688 MB / 1.244 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.8103, allocations: 279.7 kB / 1.244 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.8114, allocations: 356.3 kB / 1.244 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.8244, allocations: 7.494 MB / 1.252 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.8245, allocations: 11.88 kB / 1.252 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008262/0.8253, allocations: 167.9 kB / 1.252 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006103/0.8259, allocations: 483.3 kB / 1.252 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.8363, allocations: 5.693 MB / 1.258 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/0.8704, allocations: 31.5 MB / 1.289 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.8732, allocations: 2.094 MB / 1.291 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.8761, allocations: 2.182 MB / 1.293 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.8763, allocations: 17.31 kB / 1.293 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.8763, allocations: 51.81 kB / 1.293 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.098e-06/0.8763, allocations: 0 / 1.293 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3123/1.189, allocations: 77.02 MB / 1.368 GB, free: 1.223 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/1.189, allocations: 77.41 kB / 1.368 GB, free: 1.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/1.191, allocations: 1.674 MB / 1.37 GB, free: 15.41 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004253/1.192, allocations: 65.7 kB / 1.37 GB, free: 15.34 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.193, allocations: 1.747 MB / 1.372 GB, free: 13.57 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.194, allocations: 0.851 MB / 1.373 GB, free: 12.71 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.195, allocations: 489.2 kB / 1.373 GB, free: 12.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/1.195, allocations: 301.1 kB / 1.373 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.199, allocations: 2.726 MB / 1.376 GB, free: 9.199 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/1.203, allocations: 3.336 MB / 1.379 GB, free: 5.617 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008366/1.212, allocations: 6.393 MB / 1.385 GB, free: 14.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/1.212, allocations: 8 kB / 1.385 GB, free: 14.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03282/1.244, allocations: 14.67 MB / 1.4 GB, free: 264 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/1.245, allocations: 12.94 kB / 1.4 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.245, allocations: 16 kB / 1.4 GB, free: 236 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02985/1.274, allocations: 9.252 MB / 1.409 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.276, allocations: 299.4 kB / 1.409 GB, free: 6.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08196/1.358, allocations: 52.34 MB / 1.46 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/1.361, allocations: 223.7 kB / 1.46 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/1.361, allocations: 96 kB / 1.461 GB, free: 1.117 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.002808/1.364, allocations: 1.59 MB / 1.462 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.365, allocations: 249 kB / 1.462 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03339/1.398, allocations: 14.76 MB / 1.477 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/1.398, allocations: 24 kB / 1.477 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001468/1.398, allocations: 44 kB / 1.477 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/1.398, allocations: 11.95 kB / 1.477 GB, free: 380 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0435/1.442, allocations: 20.52 MB / 1.497 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.442, allocations: 4 kB / 1.497 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.443, allocations: 167.8 kB / 1.497 GB, free: 11.49 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03002/1.473, allocations: 9.005 MB / 1.506 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004813/1.473, allocations: 51.94 kB / 1.506 GB, free: 2.406 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6254/2.099, allocations: 51.89 MB / 1.557 GB, free: 360.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/2.099, allocations: 11.08 kB / 1.557 GB, free: 360.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/2.129, allocations: 14.37 MB / 1.571 GB, free: 359.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/2.131, allocations: 0.8484 MB / 1.571 GB, free: 359.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/2.131, allocations: 55.47 kB / 1.571 GB, free: 359.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/2.134, allocations: 204.9 kB / 1.572 GB, free: 359.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/2.135, allocations: 240.7 kB / 1.572 GB, free: 359.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/2.135, allocations: 62.06 kB / 1.572 GB, free: 359.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001209/2.136, allocations: 1.123 MB / 1.573 GB, free: 358.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/2.136, allocations: 3.469 kB / 1.573 GB, free: 358.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003806/2.14, allocations: 1.616 MB / 1.575 GB, free: 358.6 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.02813/2.168, allocations: 14.98 MB / 1.589 GB, free: 353.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02034/2.189, allocations: 10.56 MB / 1.6 GB, free: 343.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.189, allocations: 0 / 1.6 GB, free: 343.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01571/2.204, allocations: 7.311 MB / 1.607 GB, free: 336.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/2.207, allocations: 0.5511 MB / 1.607 GB, free: 335.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08353/2.291, allocations: 50.83 MB / 1.657 GB, free: 284 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003725/2.294, allocations: 3.228 MB / 1.66 GB, free: 280.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001125/2.296, allocations: 387.3 kB / 1.66 GB, free: 280.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/2.297, allocations: 1.464 MB / 1.662 GB, free: 278.9 MB / 1.279 GB Notification: Performance of SimCode: time 1.412e-06/2.297, allocations: 4 kB / 1.662 GB, free: 278.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/2.449, allocations: 120.8 MB / 1.78 GB, free: 158.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.48, allocations: 6.078 kB / 1.78 GB, free: 158.6 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