Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5201, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002558/0.5227, allocations: 1.515 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.5239, allocations: 0.7518 MB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.5239, allocations: 4 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.524, allocations: 3.938 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.524, allocations: 11.86 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.5246, allocations: 143.5 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.5247, allocations: 99.84 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.5248, allocations: 15.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5249, allocations: 55.69 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.525, allocations: 47.88 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.525, allocations: 12 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.5252, allocations: 99.84 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.5253, allocations: 19.97 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.5253, allocations: 51.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.5256, allocations: 157.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5256, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5256, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5256, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 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.0006359/0.5263, allocations: 462.5 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5263, allocations: 8.031 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.5264, allocations: 34.75 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.5264, allocations: 8.844 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.5265, allocations: 176.2 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5265, allocations: 4.375 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.5266, allocations: 8.375 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.5268, allocations: 97.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5268, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5269, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5269, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.527, allocations: 59.88 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.5278, allocations: 352.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.528, allocations: 58.59 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5281, allocations: 44.83 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.5282, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.5284, allocations: 99.34 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.5284, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005564/0.529, allocations: 189.6 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.529, allocations: 55.41 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.5291, allocations: 125.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.5291, allocations: 33.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.5292, allocations: 88 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.5292, allocations: 19.75 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.5293, allocations: 33.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.5294, allocations: 322.8 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.5295, allocations: 27.98 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.5296, allocations: 68.27 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.5297, allocations: 92.2 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5298, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002624/0.53, allocations: 129.4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5301, allocations: 11.94 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5301, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5301, allocations: 3.984 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5302, allocations: 15.94 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5302, allocations: 8.297 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.5303, allocations: 7.906 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.5303, allocations: 8.094 kB / 1.023 GB, free: 12.63 MB / 0.7794 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 9.6e-05/0.5304, allocations: 123.3 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.5304, allocations: 7.906 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.5305, allocations: 16.36 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5305, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5305, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5305, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.5311, allocations: 438.3 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5311, allocations: 3.984 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.5311, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5311, allocations: 3.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5312, allocations: 8.062 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5312, allocations: 3.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5312, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.5316, allocations: 247.3 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.5316, allocations: 85.02 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.5317, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.5318, allocations: 11.98 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.5318, allocations: 11.92 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5318, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.5319, allocations: 106.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5319, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003073/0.5322, allocations: 43.98 kB / 1.024 GB, free: 11.44 MB / 0.7794 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.0008234/0.533, allocations: 0.8425 MB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.5333, allocations: 91.88 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5334, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5335, allocations: 48.16 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.5338, allocations: 15.94 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.5354, allocations: 1.567 MB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.5356, allocations: 0.6963 MB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.5357, allocations: 7.984 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.5357, allocations: 19.44 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5357, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.5536, allocations: 2.962 MB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.897, allocations: 18.61 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " 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