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.001872/0.001872, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002224/0.002224, allocations: 217.6 kB / 23.03 MB, free: 4.918 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.056/3.056, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",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.001928/0.001928, allocations: 63.75 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3566, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005229/0.3619, allocations: 3.238 MB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003604/0.3655, allocations: 1.979 MB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3656, allocations: 7.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.3666, allocations: 290.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.3672, allocations: 242.9 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.3679, allocations: 288.5 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.3684, allocations: 406.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.3687, allocations: 184.2 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.369, allocations: 171.5 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.3693, allocations: 207.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.3694, allocations: 24 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.3698, allocations: 255.5 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3699, allocations: 123.7 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3701, allocations: 123.5 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.3707, allocations: 0.4904 MB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3707, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3707, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3707, allocations: 0 / 1.334 GB, free: 9.477 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.001142/0.3719, allocations: 0.5302 MB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3719, allocations: 12.03 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.3719, allocations: 8.688 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.372, allocations: 62.72 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.373, allocations: 116.6 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3734, allocations: 227.3 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3734, allocations: 16.88 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3735, allocations: 40.28 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.3743, allocations: 0.5181 MB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3743, allocations: 3.938 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3744, allocations: 12 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.3745, allocations: 40.47 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.3752, allocations: 361.7 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.3776, allocations: 1.648 MB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.3781, allocations: 246.4 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3783, allocations: 140.8 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3783, allocations: 11.98 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3783, allocations: 34.94 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.3783, allocations: 0 / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0019/0.3802, allocations: 0.9086 MB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3803, allocations: 55.41 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3806, allocations: 260.9 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3807, allocations: 29.7 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3808, allocations: 192.3 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.3809, allocations: 83.31 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.381, allocations: 77.64 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3812, allocations: 334.8 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.3815, allocations: 163.8 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.3819, allocations: 250.2 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.3825, allocations: 406.8 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3825, allocations: 4 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001262/0.3837, allocations: 0.5897 MB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3837, allocations: 8 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3837, allocations: 0 / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/0.3845, allocations: 196.7 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3848, allocations: 67.89 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.3878, allocations: 2.372 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.3882, allocations: 23.97 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3883, allocations: 16 kB / 1.344 GB, free: 14.99 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.0001996/0.3885, allocations: 166.2 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3885, allocations: 27.86 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.3891, allocations: 355.6 kB / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3891, allocations: 0 / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3891, allocations: 4 kB / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3891, allocations: 0 / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3902, allocations: 0.7505 MB / 1.345 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3902, allocations: 0 / 1.345 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.3906, allocations: 75.94 kB / 1.345 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3906, allocations: 0 / 1.345 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.3906, allocations: 19.94 kB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3906, allocations: 4 kB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3906, allocations: 0 / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.3914, allocations: 0.6127 MB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3915, allocations: 51.86 kB / 1.346 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3916, allocations: 4 kB / 1.346 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3918, allocations: 15.98 kB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3919, allocations: 23.84 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3919, allocations: 11.94 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002297/0.3921, allocations: 192.5 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3921, allocations: 0 / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004186/0.3925, allocations: 88 kB / 1.346 GB, free: 12.53 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.00117/0.3937, allocations: 1.161 MB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009983/0.3947, allocations: 0.5104 MB / 1.348 GB, free: 10.81 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.3947, allocations: 4 kB / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3949, allocations: 135.8 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.3954, allocations: 53.34 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.4008, allocations: 3.698 MB / 1.352 GB, free: 6.758 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.401, allocations: 182.1 kB / 1.352 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000253/0.4013, allocations: 86.83 kB / 1.352 GB, free: 6.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.4014, allocations: 87.41 kB / 1.352 GB, free: 6.391 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/0.4014, allocations: 0 / 1.352 GB, free: 6.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.4327, allocations: 7.406 MB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.65, allocations: 9.062 kB / 1.359 GB, free: 15.18 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.32044715899974]