Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.876/2.876, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.078e-06/4.078e-06, allocations: 4.531 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.965e-05, allocations: 3.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006891/0.006921, allocations: 4.103 MB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004535/0.01146, allocations: 2.293 MB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.01183, allocations: 27.75 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.01315, allocations: 372.1 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.01425, allocations: 396.3 kB / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.01514, allocations: 328.5 kB / 0.8181 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.01619, allocations: 0.6995 MB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.01669, allocations: 234 kB / 0.819 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.01745, allocations: 367.5 kB / 0.8194 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.01798, allocations: 247.8 kB / 0.8196 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.01806, allocations: 29.38 kB / 0.8196 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.01889, allocations: 378.9 kB / 0.82 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.01912, allocations: 159.5 kB / 0.8202 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.01938, allocations: 160.7 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02061, allocations: 0.7514 MB / 0.821 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.02062, allocations: 0 / 0.821 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.02062, allocations: 4.781 kB / 0.821 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.02063, allocations: 0 / 0.821 GB, free: 7.594 MB / 0.7761 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.001455/0.02209, allocations: 0.7131 MB / 0.8217 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.02213, allocations: 12.03 kB / 0.8218 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.02373, allocations: 272.9 kB / 0.822 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.02448, allocations: 403.6 kB / 0.8224 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.02452, allocations: 21.38 kB / 0.8224 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.02461, allocations: 40.36 kB / 0.8225 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.02577, allocations: 0.7265 MB / 0.8232 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.02579, allocations: 0.6875 kB / 0.8232 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.02584, allocations: 16.38 kB / 0.8232 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.601e-05/0.02594, allocations: 60.75 kB / 0.8232 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.02679, allocations: 496.7 kB / 0.8237 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.03054, allocations: 3.138 MB / 0.8268 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.03239, allocations: 0.6048 MB / 0.8274 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.03268, allocations: 169.2 kB / 0.8275 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.03271, allocations: 11.98 kB / 0.8275 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.03274, allocations: 38.56 kB / 0.8276 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.03275, allocations: 0 / 0.8276 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.002477/0.03522, allocations: 1.07 MB / 0.8286 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.03531, allocations: 110.8 kB / 0.8287 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.03579, allocations: 381.4 kB / 0.8291 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.03582, allocations: 30.83 kB / 0.8291 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.03607, allocations: 296 kB / 0.8294 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.0362, allocations: 119 kB / 0.8295 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.03635, allocations: 103.3 kB / 0.8296 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.03656, allocations: 350.8 kB / 0.83 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.03687, allocations: 174.4 kB / 0.8301 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.03736, allocations: 380.1 kB / 0.8305 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.03823, allocations: 0.5916 MB / 0.8311 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.03824, allocations: 8 kB / 0.8311 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001278/0.03952, allocations: 0.6948 MB / 0.8317 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.03954, allocations: 8 kB / 0.8318 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.03956, allocations: 8 kB / 0.8318 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/0.03998, allocations: 98.44 kB / 0.8319 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.04039, allocations: 120.1 kB / 0.832 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.04453, allocations: 3.962 MB / 0.8358 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.04485, allocations: 31.97 kB / 0.8359 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.0449, allocations: 24 kB / 0.8359 GB, free: 7.492 MB / 0.7917 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.0002525/0.04515, allocations: 197.8 kB / 0.8361 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.04529, allocations: 55.72 kB / 0.8361 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.04631, allocations: 0.5187 MB / 0.8366 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.04631, allocations: 4 kB / 0.8366 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.04632, allocations: 0 / 0.8366 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.04633, allocations: 7.984 kB / 0.8367 GB, free: 6.684 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.04826, allocations: 1.147 MB / 0.8378 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.04827, allocations: 8.031 kB / 0.8378 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.04854, allocations: 67.89 kB / 0.8378 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.04885, allocations: 90.5 kB / 0.8379 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.04888, allocations: 8 kB / 0.8379 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/0.05292, allocations: 3.973 MB / 0.8418 GB, free: 1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.05292, allocations: 4.031 kB / 0.8418 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.05401, allocations: 0.7905 MB / 0.8426 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.05418, allocations: 71.67 kB / 0.8427 GB, free: 80 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.05424, allocations: 23.94 kB / 0.8427 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.05456, allocations: 19.97 kB / 0.8427 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.05464, allocations: 35.83 kB / 0.8427 GB, free: 0 / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.05467, allocations: 12.17 kB / 0.8428 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000311/0.05498, allocations: 263.2 kB / 0.843 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.05498, allocations: 0 / 0.843 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006791/0.05566, allocations: 124 kB / 0.8431 GB, free: 15.61 MB / 0.8073 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.0001603/0.05582, allocations: 115.1 kB / 0.8432 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.0572, allocations: 0.7852 MB / 0.844 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.0572, allocations: 0 / 0.844 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/0.05803, allocations: 0.5324 MB / 0.8445 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/0.05897, allocations: 139.8 kB / 0.8447 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.06066, allocations: 0.9084 MB / 0.8455 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.06099, allocations: 260.3 kB / 0.8458 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.06129, allocations: 104.2 kB / 0.8459 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.0614, allocations: 40.5 kB / 0.8459 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.0614, allocations: 0 / 0.8459 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.01304/0.07444, allocations: 5.89 MB / 0.8517 GB, free: 6.832 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.050038793007843]