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.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.001346/0.001346, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001542/0.001542, allocations: 218.8 kB / 22.25 MB, free: 5.254 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_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.001978/0.001978, allocations: 68.25 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005122/0.3468, allocations: 3.237 MB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.3503, allocations: 1.987 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.3505, allocations: 7.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3515, allocations: 287.6 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.3521, allocations: 246.9 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.3528, allocations: 297.4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000611/0.3534, allocations: 410.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.3538, allocations: 178 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.3542, allocations: 171.5 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.3546, allocations: 207.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.3546, allocations: 24 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.3552, allocations: 247.5 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3553, allocations: 131.6 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3555, allocations: 119.5 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.3561, allocations: 0.4904 MB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3561, allocations: 4 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3561, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3562, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 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.001237/0.3574, allocations: 0.5244 MB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3574, allocations: 12.03 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.3575, allocations: 66.7 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.3585, allocations: 116.6 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.3589, allocations: 223.4 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3589, allocations: 12.88 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.359, allocations: 36.48 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.3599, allocations: 0.5259 MB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3599, allocations: 0 / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.3599, allocations: 12 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3601, allocations: 40.47 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.3607, allocations: 361.6 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.3633, allocations: 1.644 MB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.3637, allocations: 254.4 kB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3639, allocations: 144.8 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.364, allocations: 4 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.364, allocations: 30.56 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.364, allocations: 0 / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00183/0.3658, allocations: 0.9128 MB / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3659, allocations: 63.34 kB / 1.338 GB, free: 4.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.3662, allocations: 256.8 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.3662, allocations: 33.7 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3664, allocations: 188.4 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.3664, allocations: 99.14 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3666, allocations: 81.62 kB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3667, allocations: 330.8 kB / 1.339 GB, free: 3.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.367, allocations: 163.8 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3674, allocations: 246.2 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.368, allocations: 406.8 kB / 1.34 GB, free: 2.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.368, allocations: 3.938 kB / 1.34 GB, free: 2.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001248/0.3692, allocations: 0.5895 MB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3692, allocations: 4 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3692, allocations: 4 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.37, allocations: 193 kB / 1.341 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.3703, allocations: 67.89 kB / 1.341 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.3734, allocations: 2.373 MB / 1.343 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.3738, allocations: 19.98 kB / 1.343 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.3738, allocations: 15.98 kB / 1.343 GB, free: 14.98 MB / 1.045 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.0001959/0.374, allocations: 162.2 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.3741, allocations: 31.8 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.3747, allocations: 349.9 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3747, allocations: 4 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.3747, allocations: 4.062 kB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3747, allocations: 0 / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3758, allocations: 0.7566 MB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3758, allocations: 4 kB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.3762, allocations: 75.94 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3762, allocations: 0 / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.3763, allocations: 8 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3763, allocations: 3.938 kB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3763, allocations: 0 / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.3771, allocations: 0.6223 MB / 1.345 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3772, allocations: 51.83 kB / 1.345 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.3773, allocations: 4 kB / 1.345 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.3775, allocations: 16.08 kB / 1.345 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3775, allocations: 27.83 kB / 1.345 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3776, allocations: 4 kB / 1.345 GB, free: 12.79 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002369/0.3778, allocations: 188.5 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3778, allocations: 0 / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004225/0.3782, allocations: 92 kB / 1.346 GB, free: 12.51 MB / 1.045 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.001186/0.3794, allocations: 1.158 MB / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.3804, allocations: 0.5105 MB / 1.347 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3804, allocations: 4.125 kB / 1.347 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.3806, allocations: 143.7 kB / 1.348 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3811, allocations: 49.53 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.3868, allocations: 3.686 MB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.387, allocations: 194.1 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002859/0.3873, allocations: 74.91 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3875, allocations: 83.41 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of SimCode: time 1.032e-06/0.3875, allocations: 4 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.4269, allocations: 7.777 MB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 8.562 kB / 1.359 GB, free: 14.79 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.740389223996317]