Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00162/0.00162, allocations: 112.2 kB / 17.08 MB, free: 5.781 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.001603/0.001603, allocations: 195.6 kB / 20.03 MB, free: 2.906 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.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7177 GB, free: 4.574 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 75.88 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2954, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005208/0.3007, allocations: 3.254 MB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3042, allocations: 2.011 MB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.3044, allocations: 7.938 kB / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.3054, allocations: 290.7 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.3059, allocations: 238.9 kB / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.3067, allocations: 291.2 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.3072, allocations: 410.7 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.3076, allocations: 208.1 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3078, allocations: 163.4 kB / 1.183 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.3082, allocations: 195.3 kB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.3083, allocations: 24 kB / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.3088, allocations: 271.5 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3089, allocations: 111.7 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3091, allocations: 151.2 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.3098, allocations: 490.2 kB / 1.184 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3098, allocations: 4 kB / 1.184 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3098, allocations: 0 / 1.184 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3098, allocations: 0 / 1.184 GB, free: 13.81 MB / 0.9356 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.001132/0.3109, allocations: 0.6098 MB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.311, allocations: 16.02 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.3119, allocations: 116.6 kB / 1.184 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3124, allocations: 281.2 kB / 1.185 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3124, allocations: 20.92 kB / 1.185 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3125, allocations: 40.67 kB / 1.185 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.3133, allocations: 457 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3133, allocations: 0 / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.3134, allocations: 8 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.3135, allocations: 44.52 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006769/0.3142, allocations: 369.9 kB / 1.186 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.317, allocations: 2.215 MB / 1.188 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.3175, allocations: 274.4 kB / 1.188 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3177, allocations: 156.8 kB / 1.188 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3178, allocations: 4 kB / 1.188 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3178, allocations: 34.56 kB / 1.188 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.3178, allocations: 0 / 1.188 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001963/0.3198, allocations: 1.062 MB / 1.189 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3198, allocations: 55.41 kB / 1.189 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3202, allocations: 260.8 kB / 1.19 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.3202, allocations: 33.7 kB / 1.19 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3204, allocations: 188.4 kB / 1.19 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.3205, allocations: 95.2 kB / 1.19 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.3206, allocations: 73.64 kB / 1.19 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3208, allocations: 338.8 kB / 1.19 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3211, allocations: 159.8 kB / 1.19 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.3215, allocations: 253.5 kB / 1.191 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.3221, allocations: 406.8 kB / 1.191 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3221, allocations: 8 kB / 1.191 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001256/0.3234, allocations: 0.5965 MB / 1.192 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3234, allocations: 8 kB / 1.192 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3235, allocations: 0 / 1.192 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007188/0.3242, allocations: 192.7 kB / 1.192 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3245, allocations: 59.89 kB / 1.192 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.3277, allocations: 2.496 MB / 1.194 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.3282, allocations: 27.97 kB / 1.194 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3282, allocations: 12 kB / 1.194 GB, free: 2.258 MB / 0.9356 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.0002184/0.3284, allocations: 161.8 kB / 1.194 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.3285, allocations: 27.8 kB / 1.195 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.3291, allocations: 370.5 kB / 1.195 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3291, allocations: 0 / 1.195 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3291, allocations: 0 / 1.195 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3291, allocations: 4 kB / 1.195 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.3303, allocations: 0.82 MB / 1.196 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3303, allocations: 3.984 kB / 1.196 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.3307, allocations: 71.89 kB / 1.196 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3307, allocations: 64 / 1.196 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3308, allocations: 15.98 kB / 1.196 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3308, allocations: 0 / 1.196 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3308, allocations: 4 kB / 1.196 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.3316, allocations: 0.6127 MB / 1.196 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3318, allocations: 136.9 kB / 1.197 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3318, allocations: 4 kB / 1.197 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3321, allocations: 15.98 kB / 1.197 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3321, allocations: 19.92 kB / 1.197 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3322, allocations: 7.984 kB / 1.197 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002594/0.3324, allocations: 184.5 kB / 1.197 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3324, allocations: 0 / 1.197 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004383/0.3329, allocations: 95.98 kB / 1.197 GB, free: 15.61 MB / 0.9512 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.0001832/0.3331, allocations: 111.2 kB / 1.197 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.3341, allocations: 0.53 MB / 1.197 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3341, allocations: 4 kB / 1.197 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3344, allocations: 155.8 kB / 1.198 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.3348, allocations: 52.33 kB / 1.198 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.3364, allocations: 0.8849 MB / 1.199 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.3369, allocations: 0.7912 MB / 1.199 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.337, allocations: 27.42 kB / 1.199 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.337, allocations: 0 / 1.199 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.007705/0.3447, allocations: 4.578 MB / 1.204 GB, free: 8.398 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.080386672983877]