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.001825/0.001825, allocations: 108.6 kB / 16.45 MB, free: 6.508 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.002098/0.002098, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.143/3.143, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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="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.002075/0.002075, allocations: 71.61 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005661/0.3341, allocations: 3.322 MB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.3378, allocations: 2.076 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.338, allocations: 7.938 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.339, allocations: 294.8 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.3396, allocations: 238.9 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.3404, allocations: 287.3 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.3409, allocations: 410.6 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.3413, allocations: 172.5 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.3416, allocations: 167.4 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.342, allocations: 215.3 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.3421, allocations: 24 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.3426, allocations: 275.5 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3427, allocations: 119.7 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.3429, allocations: 155.2 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.3436, allocations: 494.2 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3436, allocations: 0 / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3436, allocations: 0 / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3436, allocations: 0 / 1.329 GB, free: 11.06 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.001173/0.3448, allocations: 0.6115 MB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3448, allocations: 15.98 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.553e-05/0.3449, allocations: 62.72 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3459, allocations: 108.6 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.3464, allocations: 288.6 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3464, allocations: 24.88 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.3466, allocations: 44.47 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.3473, allocations: 453.1 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3473, allocations: 7.938 kB / 1.33 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3474, allocations: 11.98 kB / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.3475, allocations: 40.47 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.3482, allocations: 369.9 kB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.3511, allocations: 2.203 MB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3516, allocations: 246.4 kB / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3518, allocations: 148.7 kB / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3518, allocations: 4 kB / 1.333 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3518, allocations: 38.56 kB / 1.333 GB, free: 6.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3518, allocations: 0 / 1.333 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001984/0.3538, allocations: 1.065 MB / 1.334 GB, free: 4.938 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3539, allocations: 55.41 kB / 1.334 GB, free: 4.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.3542, allocations: 260.9 kB / 1.335 GB, free: 4.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3542, allocations: 33.7 kB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3544, allocations: 184.4 kB / 1.335 GB, free: 4.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.3544, allocations: 91.25 kB / 1.335 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.3546, allocations: 77.64 kB / 1.335 GB, free: 4.215 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3548, allocations: 334.8 kB / 1.335 GB, free: 3.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.3551, allocations: 159.9 kB / 1.336 GB, free: 3.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.3555, allocations: 249.5 kB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.3561, allocations: 402.9 kB / 1.336 GB, free: 3.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3561, allocations: 7.938 kB / 1.336 GB, free: 3.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00131/0.3574, allocations: 0.5894 MB / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3575, allocations: 8 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3575, allocations: 4 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.3582, allocations: 188.9 kB / 1.337 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.3585, allocations: 63.89 kB / 1.337 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.3618, allocations: 2.499 MB / 1.339 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3623, allocations: 23.97 kB / 1.339 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.3623, allocations: 20.06 kB / 1.339 GB, free: 15.46 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.0002105/0.3625, allocations: 175.4 kB / 1.34 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3626, allocations: 19.86 kB / 1.34 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.3632, allocations: 361.1 kB / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3632, allocations: 4 kB / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3632, allocations: 0 / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3632, allocations: 0 / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3644, allocations: 0.8189 MB / 1.341 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3644, allocations: 0 / 1.341 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.3648, allocations: 75.94 kB / 1.341 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3648, allocations: 0 / 1.341 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3648, allocations: 11.98 kB / 1.341 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.3648, allocations: 7.938 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.3648, allocations: 0 / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.3657, allocations: 0.6082 MB / 1.341 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3658, allocations: 129 kB / 1.342 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3659, allocations: 8 kB / 1.342 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3661, allocations: 11.98 kB / 1.342 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3662, allocations: 19.92 kB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3662, allocations: 8 kB / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002487/0.3665, allocations: 192.4 kB / 1.342 GB, free: 12.92 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 4 kB / 1.342 GB, free: 12.92 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000462/0.3669, allocations: 87.98 kB / 1.342 GB, free: 12.83 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.001217/0.3681, allocations: 1.155 MB / 1.343 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.3692, allocations: 0.5087 MB / 1.344 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3692, allocations: 4.125 kB / 1.344 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3694, allocations: 139.8 kB / 1.344 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.3699, allocations: 60.59 kB / 1.344 GB, free: 10.92 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/0.3757, allocations: 3.685 MB / 1.347 GB, free: 7.078 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3762, allocations: 0.7951 MB / 1.348 GB, free: 6.258 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.3764, allocations: 82.86 kB / 1.348 GB, free: 6.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3766, allocations: 87.41 kB / 1.348 GB, free: 6.09 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.3766, allocations: 0 / 1.348 GB, free: 6.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.4099, allocations: 6.959 MB / 1.355 GB, free: 15.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.9, allocations: 10.5 kB / 1.355 GB, free: 15.29 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.416774372104555]