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.002072/0.002072, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002819/0.002819, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.742 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.796/2.796, allocations: 476 MB / 0.7699 GB, free: 4.742 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.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: 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.002134/0.002134, allocations: 67.88 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003172/0.3436, allocations: 1.538 MB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3453, allocations: 0.7731 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.3453, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.3454, allocations: 7.875 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.3454, allocations: 15.86 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.3461, allocations: 163.5 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3463, allocations: 99.7 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3464, allocations: 11.98 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3466, allocations: 55.89 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.3467, allocations: 47.81 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.3467, allocations: 12 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.347, allocations: 143.7 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.347, allocations: 23.91 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.3471, allocations: 39.84 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3474, allocations: 176.8 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3474, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3474, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3474, allocations: 0 / 1.286 GB, free: 9.383 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.0008216/0.3483, allocations: 389.2 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.3483, allocations: 8.031 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.948e-05/0.3484, allocations: 42.67 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.3489, allocations: 52.8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3492, allocations: 130.4 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3492, allocations: 4.375 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3492, allocations: 8.375 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3495, allocations: 85.75 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3495, allocations: 4 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3495, allocations: 4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3495, allocations: 3.938 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3497, allocations: 47.95 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.3505, allocations: 299.8 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3507, allocations: 58.58 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3508, allocations: 44.83 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3508, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.351, allocations: 99.34 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.351, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3516, allocations: 185.6 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3517, allocations: 67.42 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3518, allocations: 121.8 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3518, allocations: 33.69 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3519, allocations: 100.1 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3519, allocations: 15.84 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3519, allocations: 33.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3521, allocations: 322.8 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.3522, allocations: 27.98 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3523, allocations: 68.27 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.3525, allocations: 96.2 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3525, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002789/0.3528, allocations: 137.5 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3528, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3528, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3528, allocations: 4.094 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3529, allocations: 15.98 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3529, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.353, allocations: 15.94 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.353, allocations: 7.938 kB / 1.288 GB, free: 6.656 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,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.000115/0.3531, allocations: 121.8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3532, allocations: 11.89 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3532, allocations: 12.36 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3532, allocations: 8 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3532, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3532, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.3539, allocations: 401.4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3539, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3539, allocations: 7.984 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3539, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.354, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.354, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.354, allocations: 7.938 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.3544, allocations: 255.5 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3544, allocations: 7.953 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3544, allocations: 3.938 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3545, allocations: 11.98 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3546, allocations: 11.88 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3546, allocations: 7.984 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3547, allocations: 93.09 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000297/0.355, allocations: 35.94 kB / 1.289 GB, free: 5.594 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,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.001048/0.356, allocations: 0.8631 MB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3563, allocations: 99.91 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3563, allocations: 0 / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3564, allocations: 43.91 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.3567, allocations: 11.94 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3586, allocations: 1.582 MB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.3587, allocations: 75.33 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3587, allocations: 7.984 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.3588, allocations: 19.44 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3588, allocations: 0 / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3915, allocations: 3.647 MB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 15.78 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 287] (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/jenkins1/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] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f [Calling sys.exit(0), Time elapsed: 18.940367257222533]