Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.001661/0.001661, allocations: 108 kB / 15.61 MB, free: 148 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.001802/0.001802, allocations: 194.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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.543/2.543, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5217, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002683/0.5244, allocations: 1.635 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.5256, allocations: 0.7868 MB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.5257, allocations: 4 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.5257, allocations: 11.86 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.5258, allocations: 23.78 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.5264, allocations: 151.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.5265, allocations: 159.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.5266, allocations: 21.11 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.5267, allocations: 63.83 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.5268, allocations: 79.72 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.5269, allocations: 16 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.5271, allocations: 103.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.5271, allocations: 31.89 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.5272, allocations: 63.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.5275, allocations: 209.7 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5275, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5275, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5275, allocations: 0 / 1.021 GB, free: 15.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007453/0.5283, allocations: 0.5407 MB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.5283, allocations: 8.031 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.5283, allocations: 34.75 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5284, allocations: 12.84 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5285, allocations: 199.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5285, allocations: 8.375 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.5286, allocations: 4.375 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.5291, allocations: 141.7 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5291, allocations: 3.938 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5291, allocations: 7.984 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5291, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.5295, allocations: 99.91 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.5303, allocations: 384.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.5307, allocations: 94.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.531, allocations: 96.78 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.5311, allocations: 112 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.5315, allocations: 151.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.5315, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001169/0.5327, allocations: 301.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5328, allocations: 59.41 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5329, allocations: 145.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5329, allocations: 29.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.533, allocations: 104.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.533, allocations: 31.62 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.5331, allocations: 29.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5332, allocations: 326.8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.5333, allocations: 39.97 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.5335, allocations: 77.12 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.5338, allocations: 129 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5338, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003635/0.5341, allocations: 153.4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5342, allocations: 8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.5342, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5342, allocations: 4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5344, allocations: 24.09 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5344, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.5345, allocations: 20.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5345, allocations: 7.938 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.326e-05/0.5346, allocations: 121.8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.5346, allocations: 11.91 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.5347, allocations: 16.64 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5347, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5347, allocations: 8 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.5347, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.5357, allocations: 0.5178 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.5357, allocations: 3.984 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.5358, allocations: 11.98 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5358, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5358, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5359, allocations: 7.938 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5359, allocations: 4.031 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.5367, allocations: 331.2 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.5367, allocations: 88.95 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.5368, allocations: 3.938 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.537, allocations: 27.91 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.537, allocations: 11.98 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.5371, allocations: 7.984 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.5371, allocations: 109.3 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5371, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003142/0.5375, allocations: 47.94 kB / 1.025 GB, free: 10.16 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001232/0.5387, allocations: 0.9281 MB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.5392, allocations: 143.9 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5393, allocations: 0 / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.5396, allocations: 91.91 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.5399, allocations: 13.66 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.542, allocations: 1.766 MB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.5422, allocations: 0.704 MB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.5423, allocations: 12.17 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.5424, allocations: 35.42 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5424, allocations: 3.938 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.5608, allocations: 3.426 MB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.828, allocations: 14.94 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_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_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TComf,win.TIn,win.TOut,win.p,TComf.amplitude