Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001365/0.001364, 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.00157/0.001571, allocations: 196.3 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.322/2.322, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.594/0.5954, allocations: 140.4 MB / 0.9497 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02107/0.6165, allocations: 20.24 MB / 0.9695 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.6277, allocations: 6.446 MB / 0.9758 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.6298, allocations: 87.56 kB / 0.9759 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005821/0.6356, allocations: 2.236 MB / 0.9781 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.6395, allocations: 1.187 MB / 0.9792 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.6427, allocations: 1.284 MB / 0.9805 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0055/0.6482, allocations: 4.855 MB / 0.9852 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006942/0.6552, allocations: 5.634 MB / 0.9907 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.6583, allocations: 2.076 MB / 0.9927 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.6616, allocations: 2.34 MB / 0.995 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.6628, allocations: 432 kB / 0.9954 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.6653, allocations: 1.006 MB / 0.9964 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.6675, allocations: 1.665 MB / 0.9981 GB, free: 188 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.671, allocations: 1.91 MB / 0.9999 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006538/0.6776, allocations: 6.478 MB / 1.006 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6776, allocations: 0 / 1.006 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6776, allocations: 0 / 1.006 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002181/0.6778, allocations: 0 / 1.006 GB, free: 7.77 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008462/0.6863, allocations: 3.448 MB / 1.01 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6863, allocations: 12.03 kB / 1.01 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009584/0.6873, allocations: 454.6 kB / 1.01 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.6909, allocations: 0.641 MB / 1.011 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.6943, allocations: 1.932 MB / 1.013 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.6945, allocations: 222.3 kB / 1.013 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.6951, allocations: 296.1 kB / 1.013 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007856/0.7029, allocations: 4.89 MB / 1.018 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.55e-05/0.703, allocations: 15.78 kB / 1.018 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.7034, allocations: 135.9 kB / 1.018 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.7038, allocations: 233.7 kB / 1.018 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006041/0.7099, allocations: 3.746 MB / 1.022 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.7316, allocations: 21.56 MB / 1.043 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7333, allocations: 1.304 MB / 1.044 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.7347, allocations: 1.049 MB / 1.045 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.7347, allocations: 20.94 kB / 1.045 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.7348, allocations: 47.56 kB / 1.045 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 2.975e-06/0.7348, allocations: 0 / 1.045 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.025/0.7598, allocations: 8.645 MB / 1.054 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.7599, allocations: 64.72 kB / 1.054 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.7616, allocations: 1.134 MB / 1.055 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.7618, allocations: 53.7 kB / 1.055 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.7626, allocations: 1.292 MB / 1.056 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.763, allocations: 489 kB / 1.057 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005118/0.7635, allocations: 291.3 kB / 1.057 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7636, allocations: 305.1 kB / 1.057 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.7649, allocations: 0.9096 MB / 1.058 GB, free: 144 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.7666, allocations: 1.326 MB / 1.059 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.7699, allocations: 2.426 MB / 1.062 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.7699, allocations: 4 kB / 1.062 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006275/0.7762, allocations: 3.471 MB / 1.065 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.7762, allocations: 13.88 kB / 1.065 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.7763, allocations: 12 kB / 1.065 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.7796, allocations: 1.194 MB / 1.066 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.7806, allocations: 259.6 kB / 1.067 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/0.7986, allocations: 13.85 MB / 1.08 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.7999, allocations: 91.97 kB / 1.08 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.8002, allocations: 67.98 kB / 1.08 GB, free: 8.656 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001826/0.802, allocations: 1.114 MB / 1.081 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.8024, allocations: 162.1 kB / 1.082 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.808, allocations: 3.169 MB / 1.085 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.808, allocations: 20 kB / 1.085 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/0.8081, allocations: 11.94 kB / 1.085 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.8081, allocations: 15.91 kB / 1.085 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.8197, allocations: 6.241 MB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.8197, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.8203, allocations: 148.3 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/0.8232, allocations: 1.071 MB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-05/0.8233, allocations: 32 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.8407, allocations: 13.54 MB / 1.105 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.8407, allocations: 4 kB / 1.105 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/0.8463, allocations: 3.158 MB / 1.108 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/0.8471, allocations: 427 kB / 1.109 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.8474, allocations: 31.94 kB / 1.109 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.8483, allocations: 79.89 kB / 1.109 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/0.8487, allocations: 124.7 kB / 1.109 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.8488, allocations: 40 kB / 1.109 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001077/0.8498, allocations: 0.7671 MB / 1.11 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8498, allocations: 0 / 1.11 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001869/0.8517, allocations: 0.6602 MB / 1.11 GB, free: 9.145 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005517/0.8572, allocations: 3.74 MB / 1.114 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00588/0.8631, allocations: 3.634 MB / 1.118 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.8632, allocations: 4 kB / 1.118 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/0.8663, allocations: 1.952 MB / 1.119 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.8686, allocations: 0.4959 MB / 1.12 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.8983, allocations: 20.12 MB / 1.14 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/0.9009, allocations: 2.336 MB / 1.142 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001083/0.902, allocations: 354.1 kB / 1.142 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.9031, allocations: 1.007 MB / 1.143 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of SimCode: time 6.82e-07/0.9032, allocations: 0 / 1.143 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09733/1, allocations: 51.45 MB / 1.193 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.33, allocations: 6.062 kB / 1.193 GB, free: 3.68 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches