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.001294/0.001294, 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.001502/0.001502, allocations: 196.5 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.758/2.758, allocations: 437.1 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7365, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003507/0.7401, allocations: 1.633 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.7417, allocations: 0.7907 MB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.7418, allocations: 0 / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.7419, allocations: 7.875 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.742, allocations: 23.78 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.7428, allocations: 163.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.7431, allocations: 151.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.7432, allocations: 25.06 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.7434, allocations: 67.81 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.7435, allocations: 79.72 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.7436, allocations: 12 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.7439, allocations: 107.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.7439, allocations: 27.91 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.744, allocations: 63.72 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.7444, allocations: 205.7 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7444, allocations: 7.984 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7444, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7444, allocations: 0 / 1.021 GB, free: 15.15 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.0009921/0.7454, allocations: 0.5368 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.7455, allocations: 12.03 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.7455, allocations: 34.75 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.7456, allocations: 12.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.7458, allocations: 195.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.7458, allocations: 8.375 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.7459, allocations: 4.375 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.7464, allocations: 149.6 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7464, allocations: 4 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.7464, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7464, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.7469, allocations: 99.91 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.7478, allocations: 384.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.7482, allocations: 106.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.7485, allocations: 84.89 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.7485, allocations: 8.078 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.749, allocations: 143.2 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.749, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001183/0.7502, allocations: 309.5 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.7503, allocations: 59.41 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.7504, allocations: 139.5 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.7505, allocations: 33.69 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.7506, allocations: 104.3 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.7506, allocations: 27.64 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.7507, allocations: 33.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7509, allocations: 322.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.751, allocations: 39.97 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.7512, allocations: 81.12 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.7515, allocations: 121 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.7515, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004028/0.7519, allocations: 161.3 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.7519, allocations: 5.719 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.752, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.752, allocations: 8.125 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.7522, allocations: 23.97 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.7522, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.7523, allocations: 15.84 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.7523, allocations: 11.92 kB / 1.024 GB, free: 11.62 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 0.0001652/0.7525, allocations: 127.3 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.7525, allocations: 7.906 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.7526, allocations: 16.72 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7526, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7526, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7526, allocations: 3.984 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.7538, allocations: 0.5217 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7538, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.7539, allocations: 11.98 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7539, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.754, allocations: 7.984 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.754, allocations: 3.938 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.754, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.7549, allocations: 343.2 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.7549, allocations: 81.02 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.755, allocations: 8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.7552, allocations: 24 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.7553, allocations: 15.97 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.7553, allocations: 3.984 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.7554, allocations: 113.4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7554, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003395/0.7557, allocations: 51.92 kB / 1.025 GB, free: 10.2 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.001309/0.7571, allocations: 0.9188 MB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.7576, allocations: 139.8 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7576, allocations: 4 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.758, allocations: 91.86 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.7583, allocations: 16.48 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.7609, allocations: 1.754 MB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.7612, allocations: 0.704 MB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.7613, allocations: 8 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.7613, allocations: 35.36 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7614, allocations: 0 / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/1.081, allocations: 3.444 MB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.05, allocations: 15.92 kB / 1.032 GB, free: 3.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches