Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 190.7 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 495.8 MB / 0.783 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.08 kB / 1.137 GB, free: 33.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005445/0.3447, allocations: 3.38 MB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.3481, allocations: 2.072 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3483, allocations: 11.94 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.3493, allocations: 302.8 kB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.3498, allocations: 234.9 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.3505, allocations: 291.2 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.351, allocations: 418.7 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.3513, allocations: 152.1 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.3516, allocations: 167.4 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.352, allocations: 211.3 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.3521, allocations: 24 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.3525, allocations: 251.5 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3526, allocations: 123.6 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3528, allocations: 147.3 kB / 1.314 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.3534, allocations: 498.2 kB / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3534, allocations: 0 / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3534, allocations: 0 / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3534, allocations: 0 / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001119/0.3545, allocations: 0.5362 MB / 1.315 GB, free: 9.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3546, allocations: 12.03 kB / 1.315 GB, free: 9.047 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.3555, allocations: 116.6 kB / 1.315 GB, free: 8.934 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3559, allocations: 218.8 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.356, allocations: 20.88 kB / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3561, allocations: 32.7 kB / 1.316 GB, free: 8.641 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.3569, allocations: 461.3 kB / 1.316 GB, free: 8.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.3569, allocations: 3.938 kB / 1.316 GB, free: 8.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.3569, allocations: 8 kB / 1.316 GB, free: 8.141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.3571, allocations: 40.45 kB / 1.316 GB, free: 8.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.3578, allocations: 365.7 kB / 1.317 GB, free: 7.746 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.3605, allocations: 2.154 MB / 1.319 GB, free: 5.402 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.361, allocations: 242.4 kB / 1.319 GB, free: 5.156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3612, allocations: 140.8 kB / 1.319 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3612, allocations: 11.94 kB / 1.319 GB, free: 5.004 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3612, allocations: 34.55 kB / 1.319 GB, free: 4.961 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.3612, allocations: 4 kB / 1.319 GB, free: 4.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.001862/0.3631, allocations: 0.9055 MB / 1.32 GB, free: 4.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3632, allocations: 59.34 kB / 1.32 GB, free: 3.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.3635, allocations: 256.9 kB / 1.32 GB, free: 3.691 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3635, allocations: 33.7 kB / 1.32 GB, free: 3.652 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3637, allocations: 188.3 kB / 1.32 GB, free: 3.465 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.3638, allocations: 91.27 kB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3639, allocations: 81.64 kB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3641, allocations: 330.8 kB / 1.321 GB, free: 2.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.3644, allocations: 155.9 kB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3647, allocations: 254.2 kB / 1.321 GB, free: 2.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.3653, allocations: 407.9 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3653, allocations: 3.938 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001238/0.3666, allocations: 0.5894 MB / 1.322 GB, free: 1.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3666, allocations: 10.03 kB / 1.322 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3666, allocations: 8.25 kB / 1.322 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.3673, allocations: 188.7 kB / 1.322 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3676, allocations: 63.89 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.3707, allocations: 2.386 MB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.3712, allocations: 28.03 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3712, allocations: 12 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.3714, allocations: 172.3 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.3715, allocations: 31.78 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.3721, allocations: 359.5 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3721, allocations: 4 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3721, allocations: 0 / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3721, allocations: 4 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3732, allocations: 0.7801 MB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3732, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.3737, allocations: 71.88 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3737, allocations: 4 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3737, allocations: 4 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3737, allocations: 7.984 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3737, allocations: 4 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.3745, allocations: 0.6213 MB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3747, allocations: 51.88 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3747, allocations: 11.98 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.375, allocations: 15.98 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.375, allocations: 19.91 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.375, allocations: 8 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002431/0.3753, allocations: 188.4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004351/0.3757, allocations: 92 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.3759, allocations: 108 kB / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009677/0.3768, allocations: 0.5061 MB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3768, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.377, allocations: 139.8 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3775, allocations: 62.27 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.379, allocations: 0.842 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3795, allocations: 0.795 MB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.3797, allocations: 78.91 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.3798, allocations: 19.44 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3798, allocations: 4 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of Templates: time 0.009308/0.3891, allocations: 4.425 MB / 1.334 GB, free: 5.133 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.985979600809515]