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.001981/0.001981, allocations: 111 kB / 16.46 MB, free: 6.453 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.00227/0.00227, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.157/3.157, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 177] 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.001965/0.001965, allocations: 72.73 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3509, allocations: 180.2 MB / 1.348 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005944/0.3569, allocations: 3.894 MB / 1.352 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002976/0.3598, allocations: 1.807 MB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.36, allocations: 11.94 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3614, allocations: 0.4972 MB / 1.354 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.3618, allocations: 230.8 kB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3623, allocations: 207.5 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.3629, allocations: 470.5 kB / 1.355 GB, free: 3.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.3634, allocations: 301.4 kB / 1.355 GB, free: 2.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.3636, allocations: 203.3 kB / 1.355 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.364, allocations: 223.2 kB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.3641, allocations: 28 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.3645, allocations: 255.4 kB / 1.356 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3646, allocations: 131.6 kB / 1.356 GB, free: 1.883 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3648, allocations: 171.2 kB / 1.356 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.3654, allocations: 0.502 MB / 1.356 GB, free: 1.211 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3654, allocations: 0 / 1.356 GB, free: 1.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3654, allocations: 3.984 kB / 1.356 GB, free: 1.207 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3654, allocations: 3.938 kB / 1.356 GB, free: 1.203 MB / 1.045 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.001071/0.3665, allocations: 0.6465 MB / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3665, allocations: 11.98 kB / 1.357 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.3666, allocations: 74.72 kB / 1.357 GB, free: 424 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.3675, allocations: 136.6 kB / 1.357 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3679, allocations: 287.8 kB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3679, allocations: 25.03 kB / 1.358 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.368, allocations: 24.38 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.3687, allocations: 463.7 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3687, allocations: 4 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.3687, allocations: 12 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/0.3688, allocations: 40.47 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.3693, allocations: 314 kB / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.3717, allocations: 2.189 MB / 1.361 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.3721, allocations: 239.8 kB / 1.361 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3723, allocations: 96.8 kB / 1.361 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3723, allocations: 4 kB / 1.361 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3723, allocations: 38.55 kB / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3724, allocations: 0 / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006209/0.373, allocations: 297.2 kB / 1.361 GB, free: 11.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.373, allocations: 55.41 kB / 1.361 GB, free: 11.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3733, allocations: 266.6 kB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3733, allocations: 29.7 kB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3735, allocations: 212.3 kB / 1.362 GB, free: 11.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.3736, allocations: 51.56 kB / 1.362 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.3736, allocations: 49.89 kB / 1.362 GB, free: 11.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3738, allocations: 338.8 kB / 1.362 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3739, allocations: 56.44 kB / 1.362 GB, free: 10.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3741, allocations: 144.3 kB / 1.362 GB, free: 10.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3744, allocations: 221.2 kB / 1.363 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3744, allocations: 3.938 kB / 1.363 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004381/0.3748, allocations: 274.3 kB / 1.363 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3749, allocations: 4 kB / 1.363 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3749, allocations: 4 kB / 1.363 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.375, allocations: 28.84 kB / 1.363 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3752, allocations: 43.92 kB / 1.363 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.3765, allocations: 1.426 MB / 1.364 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3766, allocations: 31.89 kB / 1.364 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3767, allocations: 19.94 kB / 1.364 GB, free: 8.434 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.0001741/0.3768, allocations: 169.8 kB / 1.364 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.3769, allocations: 27.81 kB / 1.364 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.3769, allocations: 21.84 kB / 1.365 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3769, allocations: 4 kB / 1.365 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.377, allocations: 3.984 kB / 1.365 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.377, allocations: 0 / 1.365 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.3779, allocations: 0.6986 MB / 1.365 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3779, allocations: 0 / 1.365 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.378, allocations: 27.98 kB / 1.365 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.867e-05/0.3781, allocations: 32.91 kB / 1.365 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3781, allocations: 4 kB / 1.365 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3792, allocations: 1.414 MB / 1.367 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3792, allocations: 4.031 kB / 1.367 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3796, allocations: 322.5 kB / 1.367 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3797, allocations: 116.9 kB / 1.367 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.3797, allocations: 8 kB / 1.367 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3799, allocations: 11.98 kB / 1.367 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3799, allocations: 23.92 kB / 1.367 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3799, allocations: 4 kB / 1.367 GB, free: 5.254 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001975/0.3801, allocations: 186 kB / 1.367 GB, free: 5.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 4 kB / 1.367 GB, free: 5.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003881/0.3805, allocations: 75.83 kB / 1.367 GB, free: 4.996 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.0006866/0.3812, allocations: 0.8527 MB / 1.368 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.3817, allocations: 270.4 kB / 1.368 GB, free: 3.816 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3817, allocations: 0 / 1.368 GB, free: 3.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.3819, allocations: 187.7 kB / 1.369 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3824, allocations: 59 kB / 1.369 GB, free: 3.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.3856, allocations: 2.706 MB / 1.371 GB, free: 0.668 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3861, allocations: 0.7948 MB / 1.372 GB, free: 15.85 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.3862, allocations: 42.27 kB / 1.372 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3863, allocations: 83.41 kB / 1.372 GB, free: 15.73 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/0.3863, allocations: 0 / 1.372 GB, free: 15.73 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.4193, allocations: 5.428 MB / 1.378 GB, free: 10.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.51, allocations: 12.45 kB / 1.378 GB, free: 10.43 MB / 1.076 GB " [Timeout remaining time 289] (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: 17.177222338039428]