Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001566/0.001566, allocations: 108 kB / 15.6 MB, free: 132 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.001856/0.001856, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.331/2.331, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5618, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009512/0.5713, allocations: 11.08 MB / 0.9606 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00846/0.5798, allocations: 5.804 MB / 0.9662 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.5805, allocations: 53.56 kB / 0.9663 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.5842, allocations: 1.72 MB / 0.968 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.5864, allocations: 1.147 MB / 0.9691 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.5881, allocations: 0.8052 MB / 0.9699 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.59, allocations: 2.128 MB / 0.9719 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.5913, allocations: 1.314 MB / 0.9732 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.5922, allocations: 0.8367 MB / 0.974 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.5932, allocations: 0.9102 MB / 0.9749 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.5934, allocations: 114.8 kB / 0.975 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.5953, allocations: 1.173 MB / 0.9762 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.5958, allocations: 0.528 MB / 0.9767 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.5965, allocations: 0.7844 MB / 0.9775 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.5991, allocations: 2.392 MB / 0.9798 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5991, allocations: 4 kB / 0.9798 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5991, allocations: 0 / 0.9798 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.5991, allocations: 0 / 0.9798 GB, free: 2.953 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002502/0.6016, allocations: 1.864 MB / 0.9816 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6017, allocations: 16.02 kB / 0.9816 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/0.6019, allocations: 215.4 kB / 0.9818 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.606, allocations: 0.6698 MB / 0.9825 GB, free: 124 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6073, allocations: 0.9146 MB / 0.9834 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.6074, allocations: 94.91 kB / 0.9835 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.6075, allocations: 124.3 kB / 0.9836 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.6103, allocations: 2.21 MB / 0.9858 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.6103, allocations: 15.78 kB / 0.9858 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.6105, allocations: 59.98 kB / 0.9858 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.6107, allocations: 162.3 kB / 0.986 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.6133, allocations: 1.863 MB / 0.9878 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.6243, allocations: 12.49 MB / 1 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.6282, allocations: 1.956 MB / 1.002 GB, free: 11 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.629, allocations: 0.6089 MB / 1.003 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.6292, allocations: 98.08 kB / 1.003 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.6292, allocations: 55.48 kB / 1.003 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.6293, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006108/0.6354, allocations: 3.706 MB / 1.006 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6354, allocations: 60.41 kB / 1.006 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.6366, allocations: 0.9243 MB / 1.007 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.6366, allocations: 41.7 kB / 1.007 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.6371, allocations: 0.7198 MB / 1.008 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.6374, allocations: 394.5 kB / 1.008 GB, free: 4.16 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.6378, allocations: 283.2 kB / 1.009 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.6379, allocations: 309.1 kB / 1.009 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/0.6388, allocations: 0.6129 MB / 1.01 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.64, allocations: 1.106 MB / 1.011 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.6423, allocations: 1.832 MB / 1.012 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.6424, allocations: 4 kB / 1.012 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00358/0.646, allocations: 2.104 MB / 1.014 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.646, allocations: 12.22 kB / 1.014 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.646, allocations: 19.94 kB / 1.014 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.6468, allocations: 262.6 kB / 1.015 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6481, allocations: 383.3 kB / 1.015 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00868/0.6568, allocations: 11.57 MB / 1.026 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.658, allocations: 123.8 kB / 1.027 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.6582, allocations: 71.98 kB / 1.027 GB, free: 15.86 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006621/0.6589, allocations: 411.6 kB / 1.027 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.6591, allocations: 134.4 kB / 1.027 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.6619, allocations: 1.681 MB / 1.029 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.6619, allocations: 12 kB / 1.029 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6619, allocations: 0 / 1.029 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.662, allocations: 15.95 kB / 1.029 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.6669, allocations: 3.291 MB / 1.032 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6669, allocations: 8 kB / 1.032 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/0.6677, allocations: 215.6 kB / 1.032 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006703/0.6684, allocations: 243.1 kB / 1.032 GB, free: 9.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.6685, allocations: 31.94 kB / 1.032 GB, free: 9.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008421/0.6769, allocations: 11.56 MB / 1.044 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.677, allocations: 7.938 kB / 1.044 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.6798, allocations: 1.8 MB / 1.046 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.6804, allocations: 311.3 kB / 1.046 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.6806, allocations: 24 kB / 1.046 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.6814, allocations: 95.84 kB / 1.046 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.6816, allocations: 108.6 kB / 1.046 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.6817, allocations: 32 kB / 1.046 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007749/0.6825, allocations: 0.6177 MB / 1.047 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6825, allocations: 0 / 1.047 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001378/0.6839, allocations: 392 kB / 1.047 GB, free: 9.453 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002835/0.6867, allocations: 2.394 MB / 1.049 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00418/0.6909, allocations: 2.872 MB / 1.052 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6909, allocations: 0 / 1.052 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.6929, allocations: 1.629 MB / 1.054 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6947, allocations: 365.2 kB / 1.054 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.7111, allocations: 12.02 MB / 1.066 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.7122, allocations: 1.323 MB / 1.067 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00101/0.7132, allocations: 359.3 kB / 1.067 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/0.7139, allocations: 0.5344 MB / 1.068 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of SimCode: time 8.81e-07/0.7139, allocations: 0 / 1.068 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/0.7822, allocations: 27.89 MB / 1.095 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.93, allocations: 1.75 kB / 1.095 GB, free: 7.152 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches