Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001258/0.001258, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001465/0.001465, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_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.002049/0.002049, allocations: 65.31 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005842/0.3254, allocations: 3.994 MB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.3284, allocations: 1.835 MB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.3286, allocations: 7.938 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.3301, allocations: 0.5188 MB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.3306, allocations: 222.9 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.3311, allocations: 219.3 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.3317, allocations: 470.5 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.3323, allocations: 296.9 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3325, allocations: 199.3 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.3329, allocations: 219.2 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.333, allocations: 28 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3334, allocations: 255.3 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3335, allocations: 131.6 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3337, allocations: 175.1 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.3343, allocations: 0.502 MB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3343, allocations: 0 / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3343, allocations: 0 / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.3343, allocations: 4 kB / 1.292 GB, free: 2.648 MB / 0.9825 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.001012/0.3353, allocations: 0.5674 MB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3354, allocations: 8.031 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.014e-05/0.3354, allocations: 78.72 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.3363, allocations: 132.6 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.3367, allocations: 234.5 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3367, allocations: 25.03 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.3368, allocations: 28.38 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.3375, allocations: 467.5 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3375, allocations: 7.938 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3375, allocations: 12 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.3376, allocations: 32.58 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.3381, allocations: 322.3 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.3404, allocations: 2.143 MB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.3408, allocations: 158.7 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.341, allocations: 112.8 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.341, allocations: 4 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3411, allocations: 30.56 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.3411, allocations: 0 / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006108/0.3417, allocations: 226.5 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3417, allocations: 55.41 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.342, allocations: 269.8 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3421, allocations: 25.7 kB / 1.297 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3422, allocations: 208.3 kB / 1.297 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.3423, allocations: 55.56 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.3423, allocations: 49.91 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3425, allocations: 334.8 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.3426, allocations: 56.44 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3428, allocations: 152.7 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3431, allocations: 220.9 kB / 1.298 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3431, allocations: 0 / 1.298 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004318/0.3435, allocations: 266.3 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3435, allocations: 4 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3435, allocations: 4 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.3437, allocations: 24.84 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3439, allocations: 51.92 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.3451, allocations: 1.322 MB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3453, allocations: 23.84 kB / 1.3 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3453, allocations: 8 kB / 1.3 GB, free: 10.42 MB / 0.9981 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.0002379/0.3455, allocations: 177.8 kB / 1.3 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.3456, allocations: 23.86 kB / 1.3 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.3456, allocations: 29.77 kB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3457, allocations: 8 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3457, allocations: 0 / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3457, allocations: 0 / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.3467, allocations: 0.6781 MB / 1.301 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3467, allocations: 0 / 1.301 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.3468, allocations: 23.98 kB / 1.301 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.025e-05/0.3469, allocations: 36.91 kB / 1.301 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3469, allocations: 4 kB / 1.301 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.3479, allocations: 1.318 MB / 1.302 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3479, allocations: 0 / 1.302 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.3483, allocations: 312.9 kB / 1.302 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.3483, allocations: 43.77 kB / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3484, allocations: 4 kB / 1.302 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3485, allocations: 12 kB / 1.302 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.3486, allocations: 19.91 kB / 1.302 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3486, allocations: 8 kB / 1.302 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001869/0.3488, allocations: 189.2 kB / 1.302 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3488, allocations: 0 / 1.302 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003922/0.3492, allocations: 75.84 kB / 1.303 GB, free: 7.23 MB / 0.9981 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.0006853/0.3498, allocations: 0.8547 MB / 1.303 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.3503, allocations: 270.4 kB / 1.304 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3503, allocations: 0 / 1.304 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3505, allocations: 179.7 kB / 1.304 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.351, allocations: 66.75 kB / 1.304 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.3546, allocations: 2.732 MB / 1.307 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.355, allocations: 0.7948 MB / 1.307 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.3552, allocations: 42.27 kB / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3553, allocations: 83.41 kB / 1.307 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3553, allocations: 0 / 1.307 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.3921, allocations: 5.605 MB / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 0 / 1.313 GB, free: 12.5 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.61921359200096]