Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001775/0.001775, 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.002334/0.002334, allocations: 210.3 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 66.91 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005945/0.3494, allocations: 3.993 MB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.3525, allocations: 1.846 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3527, allocations: 11.94 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3542, allocations: 0.504 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.3548, allocations: 222.9 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.3553, allocations: 215.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.3559, allocations: 478.4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.3565, allocations: 289.4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3567, allocations: 203.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.3571, allocations: 219.2 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.3572, allocations: 28 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.3576, allocations: 259.4 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3578, allocations: 135.6 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.358, allocations: 171.2 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000694/0.3587, allocations: 0.502 MB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3587, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3587, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3587, allocations: 3.938 kB / 1.335 GB, free: 8.879 MB / 1.029 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.00103/0.3597, allocations: 0.5635 MB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3597, allocations: 12.03 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.3598, allocations: 74.66 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3607, allocations: 132.6 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.3611, allocations: 246.5 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3611, allocations: 21.03 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.3612, allocations: 32.36 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.3619, allocations: 459.6 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3619, allocations: 0 / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.3619, allocations: 15.98 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.569e-05/0.362, allocations: 32.64 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.3625, allocations: 322.3 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3648, allocations: 2.147 MB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3652, allocations: 162.7 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3654, allocations: 97.06 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3655, allocations: 3.938 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3655, allocations: 42.64 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.3655, allocations: 3.938 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006344/0.3661, allocations: 219.8 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3662, allocations: 59.34 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3665, allocations: 265.9 kB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3665, allocations: 25.7 kB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3666, allocations: 212.2 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.3667, allocations: 51.59 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.3668, allocations: 53.89 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3669, allocations: 338.8 kB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.367, allocations: 52.44 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3672, allocations: 141.2 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.3675, allocations: 226.9 kB / 1.34 GB, free: 2.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3675, allocations: 0 / 1.34 GB, free: 2.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004398/0.3679, allocations: 264.6 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3679, allocations: 8 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.368, allocations: 7.984 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.3681, allocations: 24.84 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.3683, allocations: 51.92 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3695, allocations: 1.315 MB / 1.342 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3696, allocations: 32 kB / 1.342 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3697, allocations: 12 kB / 1.342 GB, free: 0.6445 MB / 1.029 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.000195/0.3699, allocations: 176 kB / 1.342 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.3699, allocations: 23.86 kB / 1.342 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.37, allocations: 29.77 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.37, allocations: 0 / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.37, allocations: 4 kB / 1.342 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.37, allocations: 7.969 kB / 1.342 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.3709, allocations: 0.6703 MB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.371, allocations: 4 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.371, allocations: 20.17 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.779e-05/0.3711, allocations: 32.78 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3711, allocations: 8 kB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3722, allocations: 1.311 MB / 1.344 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3722, allocations: 4.031 kB / 1.344 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3726, allocations: 313.4 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.3727, allocations: 43.72 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.3727, allocations: 7.984 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3729, allocations: 12 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3729, allocations: 19.86 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3729, allocations: 8 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002078/0.3731, allocations: 189.2 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003936/0.3735, allocations: 75.84 kB / 1.345 GB, free: 13.46 MB / 1.045 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.0006911/0.3742, allocations: 0.8625 MB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.3747, allocations: 257.8 kB / 1.346 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3747, allocations: 4 kB / 1.346 GB, free: 12.28 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.3749, allocations: 179.7 kB / 1.346 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.3754, allocations: 62.66 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.3786, allocations: 2.727 MB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.379, allocations: 0.7948 MB / 1.35 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.3792, allocations: 42.25 kB / 1.35 GB, free: 8.258 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3793, allocations: 83.59 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3793, allocations: 0 / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.4148, allocations: 5.608 MB / 1.355 GB, free: 2.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 10.3 kB / 1.355 GB, free: 2.727 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! Error: Could not read variable sen1.I in file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv. Warning: Get data of variable sen1.I from file Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.676292385000124]