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.001257/0.001257, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.657/2.657, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 59.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003978/1.019, allocations: 1.698 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001652/1.021, allocations: 0.7908 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/1.021, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/1.021, allocations: 3.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/1.021, allocations: 23.78 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/1.022, allocations: 135.7 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/1.022, allocations: 151.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/1.022, allocations: 21.11 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/1.022, allocations: 67.77 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/1.022, allocations: 83.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/1.022, allocations: 12 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/1.023, allocations: 95.78 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/1.023, allocations: 39.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/1.023, allocations: 71.69 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/1.023, allocations: 201.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.023, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.492e-06/1.023, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.023, allocations: 0 / 1.02 GB, free: 15.3 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.001113/1.024, allocations: 0.5368 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/1.024, allocations: 12.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/1.024, allocations: 42.73 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/1.025, allocations: 12.84 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/1.025, allocations: 187.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/1.025, allocations: 8.375 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/1.025, allocations: 8.312 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/1.025, allocations: 145.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/1.025, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.025, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/1.025, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/1.026, allocations: 103.9 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/1.027, allocations: 376.5 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/1.027, allocations: 102.5 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/1.028, allocations: 88.78 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/1.028, allocations: 4.141 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/1.028, allocations: 147.2 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 4.338e-06/1.028, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001254/1.03, allocations: 301.4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/1.03, allocations: 63.28 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/1.03, allocations: 148.3 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.03, allocations: 25.7 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.03, allocations: 108.3 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/1.03, allocations: 23.66 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/1.03, allocations: 29.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.03, allocations: 330.8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.031, allocations: 39.97 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/1.031, allocations: 77.12 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/1.031, allocations: 125 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.031, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003733/1.031, allocations: 157.4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.031, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.031, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.031, allocations: 4.125 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.032, allocations: 27.91 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.032, allocations: 7.984 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.032, allocations: 23.83 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.032, allocations: 7.938 kB / 1.023 GB, free: 11.77 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.000156/1.032, allocations: 121.8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.032, allocations: 11.91 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/1.032, allocations: 12.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.032, allocations: 8 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.032, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/1.032, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.033, allocations: 0.5298 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.033, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/1.033, allocations: 11.98 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.033, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.033, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.033, allocations: 3.938 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.033, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/1.034, allocations: 327.1 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/1.034, allocations: 85.02 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/1.034, allocations: 15.98 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/1.035, allocations: 23.91 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.035, allocations: 11.94 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.035, allocations: 3.984 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001031/1.035, allocations: 113.3 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004294/1.035, allocations: 47.94 kB / 1.025 GB, free: 10.36 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.0017/1.037, allocations: 0.9241 MB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005617/1.037, allocations: 151.9 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.038, allocations: 0 / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/1.038, allocations: 91.86 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/1.038, allocations: 11.94 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/1.041, allocations: 1.791 MB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.041, allocations: 0.6963 MB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.449e-05/1.041, allocations: 11.98 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/1.041, allocations: 36.67 kB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/1.042, allocations: 3.938 kB / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/1.06, allocations: 3.272 MB / 1.031 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/1.06, allocations: 278.4 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/3.153, allocations: 7.438 kB / 1.032 GB, free: 3.039 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