Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001518/0.001518, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001841/0.001841, allocations: 217 kB / 22.25 MB, free: 4.852 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.781 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.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.754 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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.002158/0.002158, allocations: 65.53 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002861/0.3513, allocations: 1.589 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3529, allocations: 0.8198 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.3529, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.353, allocations: 11.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.353, allocations: 19.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.3537, allocations: 175.5 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3539, allocations: 139.6 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.354, allocations: 17.58 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3542, allocations: 71.75 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3543, allocations: 67.72 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.3543, allocations: 12 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.3546, allocations: 139.8 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.3546, allocations: 35.89 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.3547, allocations: 43.78 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.355, allocations: 204.8 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.355, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.355, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.355, allocations: 4 kB / 1.286 GB, free: 9.133 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007337/0.3558, allocations: 416.9 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3558, allocations: 8.031 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.3559, allocations: 42.73 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.3565, allocations: 68.8 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3568, allocations: 154.3 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3568, allocations: 4.375 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.3569, allocations: 8.375 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3571, allocations: 97.75 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3571, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3571, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3571, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3573, allocations: 67.95 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.3582, allocations: 327.6 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3584, allocations: 62.55 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3585, allocations: 48.83 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3585, allocations: 8 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.3587, allocations: 103.3 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3587, allocations: 3.938 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005738/0.3593, allocations: 213.5 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3594, allocations: 55.41 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3595, allocations: 152.9 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3595, allocations: 29.7 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3596, allocations: 108.4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3596, allocations: 24 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.3597, allocations: 29.7 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3598, allocations: 330.8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3599, allocations: 35.97 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3601, allocations: 74.52 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3603, allocations: 116.2 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3603, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003343/0.3607, allocations: 153.5 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3607, allocations: 8 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3607, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3607, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3609, allocations: 28 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3609, allocations: 4 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.361, allocations: 19.89 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.361, allocations: 7.984 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001107/0.3611, allocations: 124 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3611, allocations: 7.953 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.3612, allocations: 12.72 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3612, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3612, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3612, allocations: 7.984 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.3618, allocations: 421.8 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3618, allocations: 3.984 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.3619, allocations: 16.05 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3619, allocations: 3.938 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3619, allocations: 4.078 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.3619, allocations: 11.94 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3619, allocations: 4 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.3623, allocations: 271.4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.3624, allocations: 23.83 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3624, allocations: 4 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3625, allocations: 7.938 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.3626, allocations: 7.984 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3626, allocations: 7.984 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.3627, allocations: 114.7 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003331/0.363, allocations: 43.94 kB / 1.29 GB, free: 4.992 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001036/0.364, allocations: 0.8684 MB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.3644, allocations: 107.9 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3644, allocations: 4.062 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3645, allocations: 47.97 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3649, allocations: 14.19 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3672, allocations: 1.74 MB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.456e-05/0.3673, allocations: 88.12 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.3673, allocations: 4.672 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.3674, allocations: 31.42 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3674, allocations: 7.938 kB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4001, allocations: 4.069 MB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.09, allocations: 8.734 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.983805242925882]