Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.001709/0.001709, allocations: 110.5 kB / 16.45 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.001661/0.001661, allocations: 216.2 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.528/1.528, 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.264/3.264, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",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.002039/0.002039, allocations: 74.75 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002058/0.3693, allocations: 0.6771 MB / 1.348 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3704, allocations: 0.8475 MB / 1.349 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3704, allocations: 0 / 1.349 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.3705, allocations: 0 / 1.349 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.3705, allocations: 7.938 kB / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3707, allocations: 11.98 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.3708, allocations: 19.94 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3709, allocations: 15.91 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.3709, allocations: 11.94 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.371, allocations: 11.98 kB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.371, allocations: 0 / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.371, allocations: 7.938 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.3711, allocations: 4 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.3711, allocations: 7.938 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3712, allocations: 40.09 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3712, allocations: 0 / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3712, allocations: 0 / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3712, allocations: 4 kB / 1.349 GB, free: 8.281 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004748/0.3717, allocations: 335.5 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3717, allocations: 11.98 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.3718, allocations: 30.75 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.3718, allocations: 4.938 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.372, allocations: 172.3 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.372, allocations: 8.375 kB / 1.35 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.372, allocations: 384 / 1.35 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3722, allocations: 46.25 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3722, allocations: 3.938 kB / 1.35 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3722, allocations: 3.984 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3722, allocations: 0 / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3724, allocations: 35.91 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.3727, allocations: 244.9 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.3729, allocations: 42.53 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.373, allocations: 20.91 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.373, allocations: 0 / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3731, allocations: 34.56 kB / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3731, allocations: 0 / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.3734, allocations: 85.58 kB / 1.35 GB, free: 7.043 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3735, allocations: 51.41 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.3736, allocations: 101.8 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3736, allocations: 29.7 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.3736, allocations: 84.27 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3737, allocations: 7.891 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3737, allocations: 13.72 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3738, allocations: 318.8 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3739, allocations: 11.98 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.374, allocations: 19.98 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3742, allocations: 40.83 kB / 1.351 GB, free: 6.328 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3742, allocations: 3.938 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.3744, allocations: 69.61 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3744, allocations: 9.969 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3744, allocations: 4 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3744, allocations: 0 / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.3745, allocations: 7.984 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3745, allocations: 4.031 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.3746, allocations: 7.984 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3746, allocations: 0 / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.3747, allocations: 117.8 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3747, allocations: 4 kB / 1.351 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3749, allocations: 76.84 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3749, allocations: 8.016 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3749, allocations: 0 / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3749, allocations: 0 / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3751, allocations: 161.6 kB / 1.352 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3751, allocations: 0 / 1.352 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.3752, allocations: 8 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3752, allocations: 3.984 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.3752, allocations: 4 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3752, allocations: 0 / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3752, allocations: 0 / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3755, allocations: 167.4 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3755, allocations: 81.06 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3755, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.3756, allocations: 4 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3756, allocations: 11.98 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3757, allocations: 4.031 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.3757, allocations: 79.28 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3757, allocations: 0 / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002954/0.376, allocations: 4 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006533/0.3766, allocations: 0.6951 MB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3769, allocations: 39.89 kB / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3769, allocations: 0 / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.377, allocations: 19.98 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3773, allocations: 5.719 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3777, allocations: 139.3 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.378, allocations: 0.6729 MB / 1.353 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.378, allocations: 0 / 1.353 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3781, allocations: 19.42 kB / 1.353 GB, free: 3.715 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3781, allocations: 3.938 kB / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.4033, allocations: 1.279 MB / 1.355 GB, free: 2.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.478, allocations: 5.297 kB / 1.355 GB, free: 2.516 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_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_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable log10_1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv. Warning: Get data of variable log10_1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.477824785979465]