Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 99.27 kB / 16.02 MB, free: 76 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.001291/0.001291, allocations: 183.4 kB / 16.92 MB, free: 6.918 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8421, allocations: 142.4 MB / 0.9557 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004077/0.8463, allocations: 3.926 MB / 0.9596 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.8496, allocations: 2.348 MB / 0.9618 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.8499, allocations: 14.84 kB / 0.9619 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.8501, allocations: 67.27 kB / 0.9619 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008221/0.8509, allocations: 354.1 kB / 0.9623 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.8517, allocations: 294.6 kB / 0.9625 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.8525, allocations: 0.8705 MB / 0.9634 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.8532, allocations: 451.9 kB / 0.9638 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.8535, allocations: 222 kB / 0.964 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.8539, allocations: 263.1 kB / 0.9643 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.8539, allocations: 16.16 kB / 0.9643 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.8548, allocations: 0.5345 MB / 0.9648 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.8549, allocations: 127.2 kB / 0.9649 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.8551, allocations: 251.7 kB / 0.9652 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.8557, allocations: 0.5421 MB / 0.9657 GB, free: 152 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8557, allocations: 0 / 0.9657 GB, free: 152 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8557, allocations: 1.344 kB / 0.9657 GB, free: 152 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8557, allocations: 0 / 0.9657 GB, free: 152 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001055/0.8568, allocations: 0.7129 MB / 0.9664 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.8568, allocations: 10.47 kB / 0.9664 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.8582, allocations: 183.6 kB / 0.9666 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.8588, allocations: 402.7 kB / 0.967 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.8588, allocations: 27.48 kB / 0.967 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.8589, allocations: 33.38 kB / 0.967 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.8599, allocations: 0.6672 MB / 0.9677 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.8599, allocations: 5.344 kB / 0.9677 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.86, allocations: 22.8 kB / 0.9677 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.562e-05/0.8601, allocations: 51.98 kB / 0.9678 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.8608, allocations: 0.4906 MB / 0.9682 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.8641, allocations: 3.781 MB / 0.9719 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.8659, allocations: 0.6279 MB / 0.9726 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.8661, allocations: 182.6 kB / 0.9727 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.8662, allocations: 6.562 kB / 0.9727 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.8662, allocations: 37.06 kB / 0.9728 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.8662, allocations: 0 / 0.9728 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002312/0.8685, allocations: 1.281 MB / 0.974 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.8686, allocations: 106.2 kB / 0.9741 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.869, allocations: 397.4 kB / 0.9745 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.8691, allocations: 32.14 kB / 0.9745 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.8693, allocations: 285.6 kB / 0.9748 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.8694, allocations: 121.8 kB / 0.9749 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.8695, allocations: 48.53 kB / 0.975 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8696, allocations: 352.4 kB / 0.9753 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.8699, allocations: 175.1 kB / 0.9755 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.8703, allocations: 375.1 kB / 0.9758 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/0.871, allocations: 0.595 MB / 0.9764 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8711, allocations: 6.719 kB / 0.9764 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001184/0.8722, allocations: 0.6676 MB / 0.9771 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.8723, allocations: 13.62 kB / 0.9771 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8723, allocations: 6.594 kB / 0.9771 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.8727, allocations: 100.3 kB / 0.9772 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.8731, allocations: 115.8 kB / 0.9773 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.8764, allocations: 4.03 MB / 0.9812 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.8768, allocations: 34.34 kB / 0.9813 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.8768, allocations: 24.78 kB / 0.9813 GB, free: 2.598 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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 {(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.0002785/0.8771, allocations: 195.2 kB / 0.9815 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.8773, allocations: 44.34 kB / 0.9815 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009609/0.8782, allocations: 0.5211 MB / 0.982 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8782, allocations: 4.938 kB / 0.982 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8783, allocations: 2.156 kB / 0.982 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8783, allocations: 9.094 kB / 0.982 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.8803, allocations: 1.286 MB / 0.9833 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8803, allocations: 2.594 kB / 0.9833 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.8805, allocations: 60.89 kB / 0.9834 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.8808, allocations: 94.53 kB / 0.9834 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.8809, allocations: 8.656 kB / 0.9835 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/0.884, allocations: 4.026 MB / 0.9874 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.884, allocations: 2.625 kB / 0.9874 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.885, allocations: 0.7796 MB / 0.9881 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.8852, allocations: 152.7 kB / 0.9883 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.8853, allocations: 20.55 kB / 0.9883 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.8856, allocations: 15.98 kB / 0.9883 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.8857, allocations: 39.89 kB / 0.9884 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.8858, allocations: 12 kB / 0.9884 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003096/0.8861, allocations: 279.1 kB / 0.9886 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8861, allocations: 3.938 kB / 0.9886 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007677/0.8869, allocations: 124 kB / 0.9888 GB, free: 11.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 {(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.0001448/0.887, allocations: 115.1 kB / 0.9889 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.8883, allocations: 0.8057 MB / 0.9897 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8883, allocations: 0 / 0.9897 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007914/0.8891, allocations: 0.5474 MB / 0.9902 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8903, allocations: 128.7 kB / 0.9903 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.8925, allocations: 1.144 MB / 0.9914 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.8932, allocations: 0.8586 MB / 0.9923 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.8933, allocations: 47.42 kB / 0.9923 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/0.8933, allocations: 0 / 0.9923 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of Templates: time 0.01644/0.9098, allocations: 11.03 MB / 1.003 GB, free: 12.83 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches