Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001578/0.001578, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001876/0.001876, allocations: 215.8 kB / 22.25 MB, free: 5.082 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.252/3.252, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 74.69 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005846/0.3397, allocations: 3.392 MB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.3436, allocations: 2.123 MB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.3438, allocations: 7.938 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.3448, allocations: 299.9 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006364/0.3455, allocations: 246.9 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.3463, allocations: 294.4 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.3469, allocations: 402.7 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.3472, allocations: 176.2 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.3476, allocations: 171.5 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.348, allocations: 211.2 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.3481, allocations: 24 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3486, allocations: 275.5 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3487, allocations: 123.7 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3489, allocations: 151.2 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.3497, allocations: 494.2 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3497, allocations: 4 kB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3497, allocations: 0 / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3497, allocations: 0 / 1.361 GB, free: 120 kB / 1.045 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.001263/0.351, allocations: 0.5244 MB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.351, allocations: 8.031 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.3511, allocations: 74.66 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3521, allocations: 116.6 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.3525, allocations: 219.9 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3525, allocations: 20.88 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3527, allocations: 48.42 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.3534, allocations: 445.4 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3534, allocations: 4 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.3535, allocations: 16 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.3536, allocations: 40.47 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.3543, allocations: 361.7 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.3574, allocations: 2.162 MB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.3579, allocations: 250.4 kB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.3582, allocations: 140.8 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3582, allocations: 4 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3582, allocations: 38.56 kB / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.3582, allocations: 3.938 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002012/0.3603, allocations: 0.903 MB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3603, allocations: 59.41 kB / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.3607, allocations: 252.9 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3607, allocations: 29.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3609, allocations: 196.3 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.3609, allocations: 91.27 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3611, allocations: 69.69 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3612, allocations: 338.8 kB / 1.367 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.3615, allocations: 163.9 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.3619, allocations: 238.3 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.3626, allocations: 410.8 kB / 1.368 GB, free: 8.508 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3626, allocations: 3.938 kB / 1.368 GB, free: 8.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001321/0.3639, allocations: 0.5973 MB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3639, allocations: 10.03 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3639, allocations: 0 / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.3646, allocations: 184.9 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.365, allocations: 67.89 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.3682, allocations: 2.389 MB / 1.371 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.3686, allocations: 23.97 kB / 1.371 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.3687, allocations: 16 kB / 1.371 GB, free: 5.094 MB / 1.061 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.0002142/0.3689, allocations: 181.6 kB / 1.371 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.3689, allocations: 27.84 kB / 1.371 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.3695, allocations: 349.9 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3695, allocations: 11.94 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3695, allocations: 3.938 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3696, allocations: 3.984 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3707, allocations: 0.7863 MB / 1.372 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3707, allocations: 4.031 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.3712, allocations: 79.88 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3712, allocations: 0 / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3713, allocations: 8 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3713, allocations: 4 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3713, allocations: 0 / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.3721, allocations: 0.6144 MB / 1.373 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3722, allocations: 47.88 kB / 1.373 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.3723, allocations: 11.95 kB / 1.373 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3725, allocations: 15.98 kB / 1.373 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3726, allocations: 23.84 kB / 1.373 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3726, allocations: 4 kB / 1.373 GB, free: 2.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002439/0.3728, allocations: 188.5 kB / 1.373 GB, free: 2.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3728, allocations: 4 kB / 1.373 GB, free: 2.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004283/0.3733, allocations: 88 kB / 1.374 GB, free: 2.562 MB / 1.061 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.001185/0.3744, allocations: 1.155 MB / 1.375 GB, free: 1.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009888/0.3754, allocations: 0.5022 MB / 1.375 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3754, allocations: 4.625 kB / 1.375 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3757, allocations: 149.9 kB / 1.375 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.3761, allocations: 62.88 kB / 1.375 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.382, allocations: 3.7 MB / 1.379 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.3825, allocations: 0.799 MB / 1.38 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.3827, allocations: 78.91 kB / 1.38 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3829, allocations: 91.41 kB / 1.38 GB, free: 11.8 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/0.3829, allocations: 0 / 1.38 GB, free: 11.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.4221, allocations: 7.231 MB / 1.387 GB, free: 4.723 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.65, allocations: 11.36 kB / 1.387 GB, free: 4.715 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.477042919024825]