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.001286/0.001286, allocations: 113 kB / 18.94 MB, free: 2.934 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.001458/0.001458, allocations: 209.6 kB / 22.25 MB, free: 5.086 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 / 256 MB, free: 8.039 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.266/3.266, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.001964/0.001964, allocations: 62.27 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3974, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.008376/0.4057, allocations: 3.988 MB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.4093, allocations: 1.846 MB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.4095, allocations: 15.94 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.4111, allocations: 0.5049 MB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.4117, allocations: 230.9 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.4124, allocations: 203.5 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.4131, allocations: 478.4 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.4137, allocations: 297.4 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.4139, allocations: 199.3 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.4144, allocations: 227.2 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.4144, allocations: 28 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.415, allocations: 255.4 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.4151, allocations: 127.6 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4153, allocations: 171.2 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.416, allocations: 0.5019 MB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.416, allocations: 0 / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.416, allocations: 0 / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.416, allocations: 4 kB / 1.362 GB, free: 15.44 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.001166/0.4172, allocations: 0.5713 MB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4173, allocations: 8.031 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.4173, allocations: 70.72 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.4182, allocations: 132.6 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.4187, allocations: 241.9 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4187, allocations: 20.97 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.4187, allocations: 32.36 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.4194, allocations: 467.5 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4195, allocations: 3.984 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.4195, allocations: 15.98 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.4196, allocations: 28.64 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.4201, allocations: 322.3 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.4227, allocations: 2.143 MB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.423, allocations: 162.7 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.4233, allocations: 100.8 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4233, allocations: 7.938 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4233, allocations: 30.56 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.4233, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006069/0.4239, allocations: 222.3 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.424, allocations: 55.59 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.4243, allocations: 269.8 kB / 1.366 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4243, allocations: 29.64 kB / 1.366 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4245, allocations: 216.2 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.4245, allocations: 51.62 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.4246, allocations: 49.91 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4248, allocations: 334.8 kB / 1.367 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4249, allocations: 56.44 kB / 1.367 GB, free: 9.477 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4251, allocations: 149.2 kB / 1.367 GB, free: 9.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4254, allocations: 218.9 kB / 1.367 GB, free: 9.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4254, allocations: 0 / 1.367 GB, free: 9.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004374/0.4258, allocations: 264 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4258, allocations: 7.938 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4258, allocations: 4 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.426, allocations: 28.84 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4262, allocations: 52.3 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.4275, allocations: 1.322 MB / 1.369 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.4277, allocations: 31.84 kB / 1.369 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4277, allocations: 8 kB / 1.369 GB, free: 7.207 MB / 1.061 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.0001927/0.4279, allocations: 177.6 kB / 1.369 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.4279, allocations: 23.86 kB / 1.369 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.428, allocations: 25.77 kB / 1.369 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.428, allocations: 4 kB / 1.369 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.428, allocations: 4.062 kB / 1.369 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.428, allocations: 0 / 1.369 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.429, allocations: 0.6745 MB / 1.37 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.429, allocations: 0 / 1.37 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.4291, allocations: 27.92 kB / 1.37 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.4292, allocations: 28.78 kB / 1.37 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4292, allocations: 8 kB / 1.37 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.4303, allocations: 1.311 MB / 1.371 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4303, allocations: 0 / 1.371 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.4306, allocations: 309.4 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.4307, allocations: 43.77 kB / 1.372 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.4308, allocations: 11.94 kB / 1.372 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.4309, allocations: 12 kB / 1.372 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.431, allocations: 19.84 kB / 1.372 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.431, allocations: 8 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000203/0.4312, allocations: 189.2 kB / 1.372 GB, free: 4.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4312, allocations: 0 / 1.372 GB, free: 4.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004015/0.4316, allocations: 75.84 kB / 1.372 GB, free: 4.016 MB / 1.061 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.000748/0.4323, allocations: 0.8578 MB / 1.373 GB, free: 3.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.4328, allocations: 266.4 kB / 1.373 GB, free: 2.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4328, allocations: 0.75 kB / 1.373 GB, free: 2.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.4331, allocations: 182.5 kB / 1.373 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4335, allocations: 60.98 kB / 1.373 GB, free: 2.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.4371, allocations: 2.728 MB / 1.376 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.4375, allocations: 0.7987 MB / 1.377 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.4377, allocations: 42.25 kB / 1.377 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.4378, allocations: 87.41 kB / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.4378, allocations: 0 / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.4776, allocations: 5.622 MB / 1.382 GB, free: 9.266 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.23, allocations: 6.234 kB / 1.382 GB, free: 9.262 MB / 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.17615987199997]