Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001851/0.001851, allocations: 114.3 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.001607/0.001607, allocations: 216.7 kB / 22.25 MB, free: 5.078 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.53/1.53, 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.833/2.833, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.002077/0.002077, allocations: 68.81 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001905/0.3513, allocations: 0.6749 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3524, allocations: 0.8511 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.3525, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.3525, allocations: 7.922 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.3526, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3528, allocations: 11.94 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.3528, allocations: 23.92 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3529, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.353, allocations: 15.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.353, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3531, allocations: 11.92 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.3531, allocations: 7.984 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.3531, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.3531, allocations: 11.94 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3533, allocations: 27.48 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3533, allocations: 3.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3533, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3533, allocations: 0 / 1.285 GB, free: 10.08 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004645/0.3537, allocations: 262.3 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3538, allocations: 8.031 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.3538, allocations: 34.73 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.3539, allocations: 4.938 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.354, allocations: 106.5 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3541, allocations: 4.375 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3541, allocations: 384 / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3542, allocations: 50.23 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3543, allocations: 3.938 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3543, allocations: 3.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3543, allocations: 0 / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3544, allocations: 35.95 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3548, allocations: 228 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3549, allocations: 38.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.355, allocations: 16.91 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3551, allocations: 7.969 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3551, allocations: 42.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3551, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.3554, allocations: 77.64 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3555, allocations: 55.41 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.3556, allocations: 97.86 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3556, allocations: 25.7 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.3556, allocations: 84.27 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3557, allocations: 7.938 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.3557, allocations: 17.72 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3558, allocations: 310.8 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3559, allocations: 19.98 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.356, allocations: 15.92 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3561, allocations: 44.88 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3562, allocations: 3.938 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.3563, allocations: 61.66 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3564, allocations: 8 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3564, allocations: 7.875 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3564, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.3565, allocations: 8.031 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3565, allocations: 8 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.3565, allocations: 7.984 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3565, allocations: 4 kB / 1.287 GB, free: 8.203 MB / 0.9825 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 7.677e-05/0.3566, allocations: 109.8 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3566, allocations: 8.078 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3569, allocations: 84.94 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3569, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3569, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3569, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.357, allocations: 128.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.357, allocations: 4 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.3571, allocations: 7.984 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3571, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3571, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3571, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3571, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3574, allocations: 171.4 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.3574, allocations: 4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3574, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3575, allocations: 7.984 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3575, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3575, allocations: 4.031 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.3575, allocations: 83.27 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3575, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002353/0.3578, allocations: 8 kB / 1.287 GB, free: 7.523 MB / 0.9825 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.0005513/0.3583, allocations: 0.7006 MB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3585, allocations: 31.97 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3585, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.3586, allocations: 19.97 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3589, allocations: 6.188 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.3594, allocations: 131.4 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3597, allocations: 0.6768 MB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.3597, allocations: 0 / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3597, allocations: 15.31 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3597, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3889, allocations: 1.376 MB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.05, allocations: 15.59 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_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_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable log1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv. Warning: Get data of variable log1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.950385426998764]