Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001388/0.001388, 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.001539/0.001539, allocations: 216.5 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 8.031 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.895/2.895, allocations: 476.7 MB / 0.7707 GB, free: 4.309 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.002396/0.002396, allocations: 68.5 kB / 1.117 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.367, allocations: 169.9 MB / 1.283 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003112/0.3701, allocations: 1.553 MB / 1.285 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3716, allocations: 0.8466 MB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3717, allocations: 8 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.3717, allocations: 3.938 kB / 1.286 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3717, allocations: 11.86 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.3723, allocations: 159.5 kB / 1.286 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3724, allocations: 103.8 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.3725, allocations: 15.92 kB / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3726, allocations: 55.78 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3727, allocations: 55.8 kB / 1.286 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.3728, allocations: 12 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.373, allocations: 143.8 kB / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.3731, allocations: 23.86 kB / 1.286 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.3731, allocations: 43.84 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3734, allocations: 175.4 kB / 1.286 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3734, allocations: 4 kB / 1.286 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3734, allocations: 0 / 1.286 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3734, allocations: 0 / 1.286 GB, free: 0.6367 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006509/0.374, allocations: 389.2 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3741, allocations: 8.031 kB / 1.287 GB, free: 212 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.3741, allocations: 38.73 kB / 1.287 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.3746, allocations: 48.84 kB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3749, allocations: 140.4 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3749, allocations: 384 / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3749, allocations: 12.31 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3751, allocations: 89.75 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3752, allocations: 0 / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3752, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3752, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3753, allocations: 43.97 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.3761, allocations: 319.7 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3762, allocations: 54.55 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3763, allocations: 44.77 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3764, allocations: 0 / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3766, allocations: 91.45 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.3766, allocations: 3.938 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.3771, allocations: 181.7 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3772, allocations: 59.41 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3773, allocations: 121.8 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3773, allocations: 33.7 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3774, allocations: 100.1 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3774, allocations: 15.84 kB / 1.288 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3775, allocations: 33.7 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3776, allocations: 322.8 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.3777, allocations: 27.98 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3778, allocations: 68.7 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.378, allocations: 96.2 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.378, allocations: 7.938 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.3783, allocations: 125.7 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3783, allocations: 8 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3783, allocations: 0 / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3783, allocations: 4 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3784, allocations: 19.92 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3784, allocations: 4 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.3785, allocations: 11.94 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3785, allocations: 4 kB / 1.289 GB, free: 13.92 MB / 0.9981 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,occ.y,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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.3786, allocations: 125.8 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.3786, allocations: 11.89 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.3787, allocations: 12.38 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3787, allocations: 3.984 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3787, allocations: 0 / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3787, allocations: 0 / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.3793, allocations: 397.4 kB / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3793, allocations: 4 kB / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.3793, allocations: 4 kB / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3793, allocations: 0 / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3793, allocations: 7.984 kB / 1.289 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3793, allocations: 3.938 kB / 1.289 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3793, allocations: 7.922 kB / 1.289 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.3798, allocations: 251.8 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.3798, allocations: 7.953 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3798, allocations: 4 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3799, allocations: 11.98 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.3799, allocations: 7.922 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.38, allocations: 4 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.38, allocations: 102.1 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.38, allocations: 0 / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003371/0.3804, allocations: 43.92 kB / 1.29 GB, free: 12.86 MB / 0.9981 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0009924/0.3814, allocations: 0.8334 MB / 1.291 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.3816, allocations: 95.89 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3816, allocations: 0 / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3818, allocations: 43.97 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.382, allocations: 22.67 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3839, allocations: 1.582 MB / 1.292 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3843, allocations: 0.6924 MB / 1.293 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.3843, allocations: 7.938 kB / 1.293 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3844, allocations: 23.42 kB / 1.293 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3844, allocations: 3.938 kB / 1.293 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4153, allocations: 3.181 MB / 1.296 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 5.844 kB / 1.296 GB, free: 6.383 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f [Calling sys.exit(0), Time elapsed: 19.039332628999546]