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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001878/0.001878, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001893/0.001893, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6173, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003264/0.6206, allocations: 1.694 MB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.6219, allocations: 0.8064 MB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.622, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.622, allocations: 7.922 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.438e-05/0.6221, allocations: 19.8 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.6227, allocations: 131.7 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.6228, allocations: 147.5 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.6229, allocations: 21.11 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.623, allocations: 55.83 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.6232, allocations: 75.72 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.6232, allocations: 8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.6234, allocations: 99.84 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.543e-05/0.6234, allocations: 27.89 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.6235, allocations: 59.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.6238, allocations: 197.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6238, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6238, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6238, allocations: 0 / 1.02 GB, free: 15.45 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.0007502/0.6245, allocations: 0.5447 MB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6246, allocations: 12.03 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.6246, allocations: 34.73 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.6247, allocations: 16.78 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6248, allocations: 191.9 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6248, allocations: 8.375 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.6249, allocations: 8.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.6253, allocations: 145.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.6253, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.6254, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6254, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.6258, allocations: 103.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.6266, allocations: 388.6 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.6269, allocations: 98.5 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.6272, allocations: 84.78 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.6273, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.6277, allocations: 139.2 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.6277, allocations: 112 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001083/0.6288, allocations: 313.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.6288, allocations: 59.39 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.629, allocations: 146 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.629, allocations: 29.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.629, allocations: 108.3 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.6291, allocations: 23.64 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.6291, allocations: 33.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.6292, allocations: 322.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6294, allocations: 39.97 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.6295, allocations: 85.06 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6298, allocations: 121 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6298, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000357/0.6302, allocations: 153.4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6302, allocations: 5.562 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6302, allocations: 8.125 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6302, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6304, allocations: 23.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6304, allocations: 7.922 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.6305, allocations: 15.84 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.6305, allocations: 11.92 kB / 1.023 GB, free: 11.92 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.0001042/0.6307, allocations: 125 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.6307, allocations: 11.91 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.6307, allocations: 16.8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6307, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6307, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6308, allocations: 3.984 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.6317, allocations: 0.5219 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6318, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.6319, allocations: 15.92 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6319, allocations: 4.469 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6319, allocations: 3.984 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6319, allocations: 3.938 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6319, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.6327, allocations: 339.1 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.6327, allocations: 85.02 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.6328, allocations: 8 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.633, allocations: 27.84 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.633, allocations: 11.98 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.6331, allocations: 7.984 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.6331, allocations: 105.1 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6331, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003254/0.6335, allocations: 55.92 kB / 1.024 GB, free: 10.49 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.001234/0.6347, allocations: 0.9164 MB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.6352, allocations: 139.8 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6352, allocations: 4 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.6356, allocations: 83.92 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.6359, allocations: 17.11 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.638, allocations: 1.795 MB / 1.027 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.6382, allocations: 0.7004 MB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.886e-05/0.6383, allocations: 12.17 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.6383, allocations: 31.42 kB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6384, allocations: 0 / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.6515, allocations: 3.185 MB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.6517, allocations: 279.4 kB / 1.031 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.387, allocations: 3.25 kB / 1.031 GB, free: 3.262 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