Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001338/0.001338, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001436/0.001436, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9233/0.9233, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.699/1.699, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.994e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002164/0.002194, allocations: 1.537 MB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.00327, allocations: 0.7834 MB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.003332, allocations: 4 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.003365, allocations: 7.875 kB / 0.9528 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.003419, allocations: 19.8 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.004007, allocations: 155.4 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.00413, allocations: 111.7 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.004217, allocations: 4 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004355, allocations: 75.8 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.004413, allocations: 43.88 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.004433, allocations: 12 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.004609, allocations: 135.7 kB / 0.9533 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.004634, allocations: 31.89 kB / 0.9533 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.00467, allocations: 31.95 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.004883, allocations: 199.4 kB / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004885, allocations: 0 / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004886, allocations: 0 / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00489, allocations: 0 / 0.9535 GB, free: 360 kB / 0.9011 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.0004871/0.005377, allocations: 393.2 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.005413, allocations: 15.97 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.005443, allocations: 34.73 kB / 0.954 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.005684, allocations: 48.81 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.005858, allocations: 136.9 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.005877, allocations: 4.375 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.005891, allocations: 8.375 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.006056, allocations: 86.12 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.006063, allocations: 4.188 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.006076, allocations: 4.125 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00608, allocations: 4 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.006174, allocations: 47.95 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.006592, allocations: 291.8 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.006694, allocations: 62.48 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.006761, allocations: 44.83 kB / 0.9547 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.006778, allocations: 0 / 0.9547 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.006908, allocations: 95.5 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.006909, allocations: 0 / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003456/0.007255, allocations: 197.6 kB / 0.955 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.007289, allocations: 55.41 kB / 0.955 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.007363, allocations: 125.8 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.007378, allocations: 33.7 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.007423, allocations: 92.12 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.007437, allocations: 15.84 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.007476, allocations: 33.7 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.007551, allocations: 318.8 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.007602, allocations: 27.98 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.00767, allocations: 83.2 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.007782, allocations: 100.2 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.007786, allocations: 3.938 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001559/0.007942, allocations: 133.4 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.007961, allocations: 4 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007967, allocations: 8.094 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007979, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.008047, allocations: 19.92 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008053, allocations: 0 / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.008087, allocations: 7.984 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.008101, allocations: 12.25 kB / 0.956 GB, free: 13.62 MB / 0.9167 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 7.54e-05/0.008176, allocations: 124.4 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.008188, allocations: 7.953 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.008215, allocations: 12.42 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008217, allocations: 8 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.008222, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.008226, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.008604, allocations: 405.4 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.008606, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.008627, allocations: 4 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.00863, allocations: 3.984 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.00864, allocations: 0 / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008642, allocations: 0 / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008643, allocations: 4 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.008871, allocations: 263.3 kB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.008882, allocations: 11.89 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.008905, allocations: 4 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.008957, allocations: 7.984 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.008991, allocations: 4 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.009001, allocations: 8.047 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.009042, allocations: 99.27 kB / 0.9569 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.009042, allocations: 4 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002185/0.009261, allocations: 43.88 kB / 0.9569 GB, free: 12.55 MB / 0.9167 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.0006208/0.009882, allocations: 0.8491 MB / 0.9578 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.01007, allocations: 95.88 kB / 0.9579 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01007, allocations: 0 / 0.9579 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.01015, allocations: 43.97 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01034, allocations: 12.2 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.01153, allocations: 1.599 MB / 0.9595 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.524e-05/0.01159, allocations: 75.33 kB / 0.9596 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.01162, allocations: 4 kB / 0.9596 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.01167, allocations: 28.48 kB / 0.9596 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01167, allocations: 4 kB / 0.9596 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.02912, allocations: 3.787 MB / 0.9633 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.981, allocations: 0 / 0.9633 GB, free: 6.062 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_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_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.099259782582521]