Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001584/0.001584, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5525, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02366/0.5762, allocations: 23.41 MB / 0.9726 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.5878, allocations: 6.498 MB / 0.9789 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.59, allocations: 95.41 kB / 0.979 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.5942, allocations: 1.488 MB / 0.9805 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.5992, allocations: 1.825 MB / 0.9823 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.6028, allocations: 1.468 MB / 0.9837 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007511/0.6103, allocations: 6.901 MB / 0.9904 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008716/0.6191, allocations: 7.01 MB / 0.9973 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.6232, allocations: 2.828 MB / 1 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.6284, allocations: 3.478 MB / 1.003 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.63, allocations: 0.5273 MB / 1.004 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.6335, allocations: 1.178 MB / 1.005 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003429/0.6369, allocations: 2.468 MB / 1.008 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004648/0.6416, allocations: 2.524 MB / 1.01 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009546/0.6512, allocations: 8.468 MB / 1.018 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.6512, allocations: 0 / 1.018 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6512, allocations: 4 kB / 1.018 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002174/0.6514, allocations: 0 / 1.018 GB, free: 11.46 MB / 0.7794 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.00854/0.66, allocations: 4.428 MB / 1.023 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.66, allocations: 12.03 kB / 1.023 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007833/0.6608, allocations: 0.5753 MB / 1.023 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008407/0.6692, allocations: 1.673 MB / 1.025 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/0.6741, allocations: 2.579 MB / 1.027 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.6743, allocations: 279.7 kB / 1.028 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.6754, allocations: 360.3 kB / 1.028 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.6886, allocations: 7.479 MB / 1.035 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.6887, allocations: 19.78 kB / 1.035 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007451/0.6895, allocations: 155.9 kB / 1.035 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005684/0.6901, allocations: 487.3 kB / 1.036 GB, free: 9.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009836/0.6999, allocations: 5.697 MB / 1.041 GB, free: 3.328 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.735, allocations: 31.71 MB / 1.072 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.7379, allocations: 2.094 MB / 1.074 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.7408, allocations: 2.174 MB / 1.077 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.741, allocations: 17.31 kB / 1.077 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.7411, allocations: 59.8 kB / 1.077 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.506e-06/0.7411, allocations: 0 / 1.077 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.3195/1.061, allocations: 76.99 MB / 1.152 GB, free: 15.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/1.061, allocations: 81.41 kB / 1.152 GB, free: 15.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/1.064, allocations: 1.67 MB / 1.154 GB, free: 13.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004612/1.064, allocations: 69.69 kB / 1.154 GB, free: 13.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.065, allocations: 1.747 MB / 1.155 GB, free: 11.69 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.066, allocations: 0.8548 MB / 1.156 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/1.068, allocations: 485.2 kB / 1.157 GB, free: 10.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/1.068, allocations: 301.1 kB / 1.157 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00391/1.072, allocations: 2.726 MB / 1.16 GB, free: 7.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/1.076, allocations: 3.336 MB / 1.163 GB, free: 3.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/1.085, allocations: 6.405 MB / 1.169 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.085, allocations: 8 kB / 1.169 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03386/1.119, allocations: 14.67 MB / 1.183 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/1.119, allocations: 12.19 kB / 1.183 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/1.119, allocations: 20 kB / 1.183 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03053/1.149, allocations: 9.306 MB / 1.192 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.151, allocations: 299.5 kB / 1.193 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08323/1.234, allocations: 52.37 MB / 1.244 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/1.237, allocations: 223.7 kB / 1.244 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/1.237, allocations: 96 kB / 1.244 GB, free: 15.13 MB / 1.014 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.002616/1.24, allocations: 1.587 MB / 1.246 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/1.241, allocations: 249 kB / 1.246 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4613/1.702, allocations: 14.74 MB / 1.26 GB, free: 276.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/1.702, allocations: 29.08 kB / 1.26 GB, free: 276.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001701/1.702, allocations: 44.47 kB / 1.26 GB, free: 276.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-05/1.702, allocations: 15.02 kB / 1.26 GB, free: 276.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04204/1.744, allocations: 20.52 MB / 1.281 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.744, allocations: 5.75 kB / 1.281 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/1.745, allocations: 166.7 kB / 1.281 GB, free: 272 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02842/1.774, allocations: 9.065 MB / 1.29 GB, free: 270.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004489/1.774, allocations: 47.38 kB / 1.29 GB, free: 270.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06465/1.839, allocations: 51.95 MB / 1.34 GB, free: 229.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.839, allocations: 15.88 kB / 1.34 GB, free: 229.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02798/1.867, allocations: 14.36 MB / 1.354 GB, free: 214.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.869, allocations: 0.8494 MB / 1.355 GB, free: 213.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.869, allocations: 51.94 kB / 1.355 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.871, allocations: 207.7 kB / 1.355 GB, free: 213.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/1.872, allocations: 241.5 kB / 1.356 GB, free: 213.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.873, allocations: 64 kB / 1.356 GB, free: 213.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001224/1.874, allocations: 1.125 MB / 1.357 GB, free: 212.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.874, allocations: 1.125 kB / 1.357 GB, free: 212.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003696/1.877, allocations: 1.613 MB / 1.358 GB, free: 210.6 MB / 1.014 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.02818/1.906, allocations: 14.98 MB / 1.373 GB, free: 195.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0216/1.927, allocations: 11.33 MB / 1.384 GB, free: 184.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.927, allocations: 8.062 kB / 1.384 GB, free: 184.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/1.944, allocations: 7.308 MB / 1.391 GB, free: 176.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.946, allocations: 0.5527 MB / 1.392 GB, free: 176.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08279/2.029, allocations: 53.36 MB / 1.444 GB, free: 120.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/2.032, allocations: 3.222 MB / 1.447 GB, free: 117.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009872/2.033, allocations: 391.3 kB / 1.447 GB, free: 117 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/2.034, allocations: 1.464 MB / 1.449 GB, free: 115.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.573e-06/2.034, allocations: 0 / 1.449 GB, free: 115.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/2.186, allocations: 119.4 MB / 1.565 GB, free: 12.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/13.3, allocations: 25.02 kB / 1.566 GB, free: 12.55 MB / 1.029 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches