Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001748/0.001748, allocations: 110.8 kB / 16.46 MB, free: 6.504 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.001874/0.001874, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.109/3.109, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.11 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 173.9 MB / 1.304 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006324/0.3532, allocations: 3.881 MB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.3564, allocations: 1.772 MB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3566, allocations: 4 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3582, allocations: 0.4939 MB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.3589, allocations: 230.9 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.3595, allocations: 211.5 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.3602, allocations: 470.5 kB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.3608, allocations: 297.5 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.3612, allocations: 199.3 kB / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.3617, allocations: 231.1 kB / 1.312 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.3617, allocations: 28 kB / 1.312 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.3622, allocations: 255.5 kB / 1.312 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3624, allocations: 127.6 kB / 1.312 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3626, allocations: 175.1 kB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.3634, allocations: 0.5059 MB / 1.313 GB, free: 8.699 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3634, allocations: 4 kB / 1.313 GB, free: 8.695 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3634, allocations: 0 / 1.313 GB, free: 8.695 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.3634, allocations: 0 / 1.313 GB, free: 8.695 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001223/0.3646, allocations: 0.6387 MB / 1.313 GB, free: 8.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3647, allocations: 8.625 kB / 1.313 GB, free: 7.996 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.87e-05/0.3648, allocations: 70.72 kB / 1.313 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.3657, allocations: 136.6 kB / 1.313 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3662, allocations: 295.8 kB / 1.314 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3662, allocations: 21.03 kB / 1.314 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3663, allocations: 28.36 kB / 1.314 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.367, allocations: 467.7 kB / 1.314 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.367, allocations: 3.938 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.3671, allocations: 12 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.3671, allocations: 36.55 kB / 1.314 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.3676, allocations: 321.9 kB / 1.315 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.3701, allocations: 2.177 MB / 1.317 GB, free: 4.156 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3705, allocations: 239.8 kB / 1.317 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.3707, allocations: 92.8 kB / 1.317 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3707, allocations: 8 kB / 1.317 GB, free: 3.793 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3707, allocations: 34.66 kB / 1.317 GB, free: 3.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.3707, allocations: 3.938 kB / 1.317 GB, free: 3.746 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0006235/0.3714, allocations: 303.6 kB / 1.317 GB, free: 3.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3714, allocations: 51.41 kB / 1.317 GB, free: 3.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.3717, allocations: 270.6 kB / 1.318 GB, free: 3.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3717, allocations: 29.7 kB / 1.318 GB, free: 3.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3719, allocations: 212.3 kB / 1.318 GB, free: 2.844 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3719, allocations: 55.53 kB / 1.318 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.372, allocations: 49.89 kB / 1.318 GB, free: 2.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3722, allocations: 334.8 kB / 1.318 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3723, allocations: 56.44 kB / 1.318 GB, free: 2.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3725, allocations: 149.2 kB / 1.318 GB, free: 2.156 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3727, allocations: 217.5 kB / 1.319 GB, free: 1.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3727, allocations: 7.875 kB / 1.319 GB, free: 1.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004401/0.3732, allocations: 262 kB / 1.319 GB, free: 1.633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3732, allocations: 8.359 kB / 1.319 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3732, allocations: 8 kB / 1.319 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.3734, allocations: 28.84 kB / 1.319 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3736, allocations: 43.92 kB / 1.319 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.3748, allocations: 1.422 MB / 1.32 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.375, allocations: 27.78 kB / 1.32 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.375, allocations: 12 kB / 1.32 GB, free: 15.94 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.3752, allocations: 176.1 kB / 1.321 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.3752, allocations: 23.86 kB / 1.321 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.3753, allocations: 29.83 kB / 1.321 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3753, allocations: 4 kB / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3753, allocations: 0 / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3753, allocations: 3.984 kB / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.3763, allocations: 0.7025 MB / 1.321 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3763, allocations: 0 / 1.321 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.3764, allocations: 27.92 kB / 1.321 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.3764, allocations: 28.78 kB / 1.321 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3765, allocations: 4.188 kB / 1.321 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3776, allocations: 1.415 MB / 1.323 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3776, allocations: 4.031 kB / 1.323 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.3779, allocations: 323.7 kB / 1.323 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.378, allocations: 116.9 kB / 1.323 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3781, allocations: 8 kB / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3782, allocations: 7.984 kB / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3783, allocations: 19.92 kB / 1.323 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3783, allocations: 8 kB / 1.323 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001993/0.3785, allocations: 190 kB / 1.323 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3785, allocations: 0 / 1.323 GB, free: 12.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003997/0.3789, allocations: 87.78 kB / 1.324 GB, free: 12.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/0.3796, allocations: 0.8469 MB / 1.324 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.38, allocations: 274.4 kB / 1.325 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.38, allocations: 0 / 1.325 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.3803, allocations: 182.5 kB / 1.325 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.3807, allocations: 53.66 kB / 1.325 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.3841, allocations: 2.715 MB / 1.327 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.3845, allocations: 0.7909 MB / 1.328 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.3847, allocations: 46.23 kB / 1.328 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3848, allocations: 79.61 kB / 1.328 GB, free: 7.23 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.3848, allocations: 0 / 1.328 GB, free: 7.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08747/0.4723, allocations: 5.44 MB / 1.334 GB, free: 1.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.91/10.38, allocations: 19.23 kB / 1.334 GB, free: 1.922 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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: 16.98112425999716]