Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00122/0.00122, allocations: 105.1 kB / 15.99 MB, free: 6.344 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.001228/0.001228, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.587/2.587, allocations: 469.8 MB / 0.7427 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 63.86 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3526, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006027/0.3587, allocations: 4.322 MB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3624, allocations: 2.358 MB / 1.071 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.3627, allocations: 15.88 kB / 1.071 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3638, allocations: 342.7 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008167/0.3646, allocations: 350.5 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.3654, allocations: 290.5 kB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007596/0.3661, allocations: 0.6866 MB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.3666, allocations: 282 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.367, allocations: 258.9 kB / 1.073 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.3673, allocations: 278.8 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.3674, allocations: 28 kB / 1.073 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.3681, allocations: 435.1 kB / 1.074 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3683, allocations: 147.5 kB / 1.074 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.3685, allocations: 226.8 kB / 1.074 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.3692, allocations: 0.5692 MB / 1.074 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3692, allocations: 0 / 1.074 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3692, allocations: 0 / 1.074 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.3692, allocations: 0 / 1.074 GB, free: 4.547 MB / 0.8419 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.001242/0.3705, allocations: 0.7872 MB / 1.075 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3705, allocations: 8.625 kB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.3718, allocations: 180.1 kB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.3724, allocations: 404.5 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.3724, allocations: 21.38 kB / 1.076 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.3725, allocations: 40.3 kB / 1.076 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.3735, allocations: 0.6588 MB / 1.076 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.3735, allocations: 11.84 kB / 1.076 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.3736, allocations: 12 kB / 1.076 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-05/0.3736, allocations: 55.95 kB / 1.077 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.3744, allocations: 0.4932 MB / 1.077 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4976/0.8719, allocations: 3.773 MB / 1.081 GB, free: 20.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.8739, allocations: 0.6309 MB / 1.081 GB, free: 20.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.8742, allocations: 183.2 kB / 1.081 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.8743, allocations: 6.828 kB / 1.081 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.8743, allocations: 44.42 kB / 1.082 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.8743, allocations: 0 / 1.082 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.00247/0.8768, allocations: 1.273 MB / 1.083 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.8769, allocations: 112.9 kB / 1.083 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.8774, allocations: 400.7 kB / 1.083 GB, free: 18.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.8774, allocations: 31.92 kB / 1.083 GB, free: 18.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8776, allocations: 279.6 kB / 1.084 GB, free: 18.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.8777, allocations: 123.6 kB / 1.084 GB, free: 18.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.8779, allocations: 100.3 kB / 1.084 GB, free: 18.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.878, allocations: 350.5 kB / 1.084 GB, free: 18.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.8783, allocations: 179.8 kB / 1.084 GB, free: 18.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.8786, allocations: 376.2 kB / 1.085 GB, free: 17.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.8793, allocations: 0.595 MB / 1.085 GB, free: 17.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8793, allocations: 1.219 kB / 1.085 GB, free: 17.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001133/0.8804, allocations: 0.6718 MB / 1.086 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.8805, allocations: 9.469 kB / 1.086 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8805, allocations: 6.844 kB / 1.086 GB, free: 17.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.8809, allocations: 103.5 kB / 1.086 GB, free: 17.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.8813, allocations: 107.9 kB / 1.086 GB, free: 17.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.8839, allocations: 4.356 MB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.8843, allocations: 29.2 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.8844, allocations: 26.28 kB / 1.09 GB, free: 12.79 MB / 0.8419 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.0002381/0.8846, allocations: 190.9 kB / 1.091 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.8847, allocations: 52.47 kB / 1.091 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008535/0.8856, allocations: 0.509 MB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.8856, allocations: 4.422 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8856, allocations: 2.188 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.8856, allocations: 6.172 kB / 1.091 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.8873, allocations: 1.282 MB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.8873, allocations: 2.703 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.8876, allocations: 60.64 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.8878, allocations: 93.61 kB / 1.093 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.8879, allocations: 8.656 kB / 1.093 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.8901, allocations: 4.342 MB / 1.097 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8901, allocations: 6.969 kB / 1.097 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.8909, allocations: 0.7808 MB / 1.098 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.8911, allocations: 152 kB / 1.098 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.8912, allocations: 17.8 kB / 1.098 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.8915, allocations: 25.66 kB / 1.098 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.8915, allocations: 30.77 kB / 1.098 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8916, allocations: 14.59 kB / 1.098 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003129/0.8919, allocations: 277 kB / 1.098 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8919, allocations: 3.344 kB / 1.098 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007087/0.8926, allocations: 127.4 kB / 1.098 GB, free: 6.375 MB / 0.8419 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.0001263/0.8927, allocations: 112.9 kB / 1.098 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.8939, allocations: 0.8259 MB / 1.099 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8939, allocations: 0 / 1.099 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.8946, allocations: 0.5487 MB / 1.1 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.8955, allocations: 133 kB / 1.1 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.8969, allocations: 1.122 MB / 1.101 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.8973, allocations: 0.8616 MB / 1.102 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.8975, allocations: 44.06 kB / 1.102 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of SimCode: time 1.132e-06/0.8975, allocations: 0 / 1.102 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of Templates: time 0.01866/0.9161, allocations: 11.09 MB / 1.113 GB, free: 3.031 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches