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.001938/0.001938, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002419/0.002419, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.789 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.967/2.967, allocations: 476 MB / 0.7699 GB, free: 4.742 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.00227/0.00227, allocations: 66.95 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.34, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006305/0.3463, allocations: 3.791 MB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.3497, allocations: 1.702 MB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.35, allocations: 7.938 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.3516, allocations: 0.4903 MB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.3523, allocations: 234.8 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3529, allocations: 205.6 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000657/0.3535, allocations: 482.4 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005457/0.3541, allocations: 277.5 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3543, allocations: 207.2 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.3548, allocations: 211.2 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3549, allocations: 28 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3553, allocations: 219.4 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3554, allocations: 131.6 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3556, allocations: 143.4 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.3563, allocations: 0.5075 MB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3563, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3563, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3563, allocations: 0 / 1.291 GB, free: 3.848 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.001149/0.3574, allocations: 0.5674 MB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3575, allocations: 8.031 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.587e-05/0.3576, allocations: 74.66 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.3585, allocations: 132.6 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.359, allocations: 238 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.359, allocations: 21.02 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.3591, allocations: 32.31 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.3599, allocations: 0.5782 MB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.36, allocations: 4 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.36, allocations: 12 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.3601, allocations: 28.64 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.3606, allocations: 330.3 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3629, allocations: 1.579 MB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.3633, allocations: 166.7 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3635, allocations: 100.8 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3635, allocations: 4 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3636, allocations: 38.5 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3636, allocations: 0 / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.00064/0.3642, allocations: 226.6 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3643, allocations: 55.41 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.3646, allocations: 273.9 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3646, allocations: 29.64 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3648, allocations: 212.2 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.3648, allocations: 55.53 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.3649, allocations: 49.94 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3651, allocations: 330.8 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3652, allocations: 56.44 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.3654, allocations: 144.8 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3657, allocations: 218.9 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3657, allocations: 0 / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004471/0.3661, allocations: 267.8 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3662, allocations: 6.344 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3662, allocations: 11.88 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3664, allocations: 24.84 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3666, allocations: 60.28 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3678, allocations: 1.307 MB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.368, allocations: 31.73 kB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.368, allocations: 8 kB / 1.298 GB, free: 12.14 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.0001976/0.3682, allocations: 169.7 kB / 1.298 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.3683, allocations: 28.02 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3683, allocations: 29.77 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3684, allocations: 4 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3684, allocations: 0 / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3684, allocations: 0 / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3694, allocations: 0.6007 MB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3694, allocations: 0 / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.3695, allocations: 28.19 kB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.246e-05/0.3696, allocations: 36.77 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3696, allocations: 4 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.3709, allocations: 1.303 MB / 1.3 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3709, allocations: 4.031 kB / 1.3 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3713, allocations: 317.3 kB / 1.3 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3714, allocations: 43.78 kB / 1.3 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3714, allocations: 4 kB / 1.3 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3716, allocations: 8 kB / 1.3 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3716, allocations: 23.95 kB / 1.301 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3716, allocations: 11.92 kB / 1.301 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002135/0.3718, allocations: 185.2 kB / 1.301 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3718, allocations: 0 / 1.301 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004183/0.3723, allocations: 79.83 kB / 1.301 GB, free: 9.047 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.0007776/0.373, allocations: 0.8504 MB / 1.302 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.3736, allocations: 278.9 kB / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3736, allocations: 0 / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.3739, allocations: 178.7 kB / 1.302 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3744, allocations: 55.5 kB / 1.302 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.378, allocations: 2.736 MB / 1.305 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3782, allocations: 186.1 kB / 1.305 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.3784, allocations: 42.27 kB / 1.305 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3785, allocations: 79.42 kB / 1.305 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.3785, allocations: 0 / 1.305 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.4191, allocations: 6.121 MB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.3, allocations: 7.344 kB / 1.311 GB, free: 14.46 MB / 1.014 GB " [Timeout remaining time 287] (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: 19.352229966316372]