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.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.001321/0.001321, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001536/0.001536, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.809 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.374/3.374, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.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: 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.002112/0.002112, allocations: 67.28 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3603, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00686/0.3671, allocations: 3.778 MB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3704, allocations: 1.71 MB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.3707, allocations: 11.94 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.3724, allocations: 0.4903 MB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.3731, allocations: 218.9 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.3738, allocations: 218 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.3745, allocations: 470.4 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.3751, allocations: 285.7 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.3755, allocations: 211.2 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.3761, allocations: 215.2 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.3761, allocations: 28 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.3766, allocations: 219.5 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3768, allocations: 131.6 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.377, allocations: 139.4 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007906/0.3778, allocations: 0.5059 MB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3778, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3778, allocations: 4 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.3778, allocations: 4 kB / 1.372 GB, free: 5.457 MB / 1.061 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.001181/0.379, allocations: 0.5557 MB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.379, allocations: 8.031 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.395e-05/0.3791, allocations: 78.64 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3801, allocations: 136.6 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.3807, allocations: 241.9 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3807, allocations: 21.03 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3807, allocations: 24.38 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.3816, allocations: 0.586 MB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3816, allocations: 0 / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.3817, allocations: 12 kB / 1.373 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/0.3817, allocations: 32.64 kB / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.3823, allocations: 322.3 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.3845, allocations: 1.583 MB / 1.375 GB, free: 1.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.3849, allocations: 166.7 kB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3852, allocations: 92.8 kB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3852, allocations: 4 kB / 1.376 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3852, allocations: 30.56 kB / 1.376 GB, free: 1.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.3852, allocations: 96 / 1.376 GB, free: 1.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006216/0.3858, allocations: 234.5 kB / 1.376 GB, free: 1.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3859, allocations: 59.34 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.3862, allocations: 269.8 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3862, allocations: 29.69 kB / 1.376 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.3864, allocations: 204.3 kB / 1.376 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.3864, allocations: 55.52 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.3865, allocations: 53.89 kB / 1.376 GB, free: 420 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3867, allocations: 334.8 kB / 1.377 GB, free: 76 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3868, allocations: 60.44 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.387, allocations: 140 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.3873, allocations: 221 kB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3873, allocations: 4 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005086/0.3878, allocations: 270 kB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3878, allocations: 6.188 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3878, allocations: 4 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.388, allocations: 29.22 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3882, allocations: 47.92 kB / 1.377 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.3894, allocations: 1.314 MB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.3896, allocations: 27.78 kB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3896, allocations: 15.94 kB / 1.379 GB, free: 13.75 MB / 1.076 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.0001985/0.3898, allocations: 173.8 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.3899, allocations: 23.86 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.3899, allocations: 25.77 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3899, allocations: 4 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3899, allocations: 0 / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3899, allocations: 0 / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.391, allocations: 0.6008 MB / 1.38 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.391, allocations: 4.031 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.3911, allocations: 23.98 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.3912, allocations: 28.78 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3912, allocations: 4 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.3924, allocations: 1.315 MB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3924, allocations: 4.062 kB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.3928, allocations: 323.4 kB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3929, allocations: 31.94 kB / 1.381 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3929, allocations: 11.94 kB / 1.381 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3931, allocations: 7.984 kB / 1.381 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3931, allocations: 23.86 kB / 1.381 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3931, allocations: 4 kB / 1.381 GB, free: 10.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002155/0.3933, allocations: 193.2 kB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3933, allocations: 4 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004301/0.3938, allocations: 79.78 kB / 1.382 GB, free: 10.66 MB / 1.076 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.00083/0.3946, allocations: 0.8469 MB / 1.382 GB, free: 9.758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.3952, allocations: 267 kB / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3952, allocations: 0 / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3954, allocations: 178.6 kB / 1.383 GB, free: 9.297 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3959, allocations: 61.41 kB / 1.383 GB, free: 9.242 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.3995, allocations: 2.727 MB / 1.386 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3997, allocations: 186 kB / 1.386 GB, free: 6.125 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.3999, allocations: 46.2 kB / 1.386 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4, allocations: 83.41 kB / 1.386 GB, free: 6 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4, allocations: 192 / 1.386 GB, free: 6 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.4408, allocations: 6.133 MB / 1.392 GB, free: 60 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.13, allocations: 5.875 kB / 1.392 GB, free: 56 kB / 1.076 GB " [Timeout remaining time 288] (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/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: 19.132599818054587]