Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_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.004988/0.004988, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001224/0.001224, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 67.84 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7214, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002596/0.724, allocations: 1.634 MB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.7253, allocations: 0.7916 MB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.7254, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.7254, allocations: 7.875 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.7255, allocations: 31.72 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.7261, allocations: 151.6 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.7263, allocations: 155.5 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.7264, allocations: 25.09 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.7265, allocations: 67.83 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.7266, allocations: 75.72 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.7266, allocations: 16 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.7268, allocations: 99.84 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.7269, allocations: 31.91 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.727, allocations: 67.69 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.7273, allocations: 199 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7273, allocations: 4 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7273, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7273, allocations: 7.938 kB / 1.223 GB, free: 14.66 MB / 0.9512 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.000782/0.7281, allocations: 0.5443 MB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7281, allocations: 12.03 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.7282, allocations: 38.73 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.7282, allocations: 16.84 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7284, allocations: 175.1 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.7284, allocations: 12.38 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.7284, allocations: 4.375 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.7289, allocations: 149.7 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7289, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7289, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.7289, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.7293, allocations: 111.8 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.7301, allocations: 380.6 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.7305, allocations: 102.5 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.7308, allocations: 88.72 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7308, allocations: 4 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.7312, allocations: 139.3 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.7313, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001097/0.7324, allocations: 309.5 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.7324, allocations: 59.41 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7325, allocations: 146.5 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.7326, allocations: 29.7 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.7327, allocations: 104.2 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.7327, allocations: 19.86 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.7327, allocations: 29.7 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7329, allocations: 330.8 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.733, allocations: 43.97 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.7332, allocations: 85.05 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.7335, allocations: 117 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7335, allocations: 0 / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003631/0.7338, allocations: 161.5 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.7339, allocations: 4 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7339, allocations: 3.984 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7339, allocations: 4 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.734, allocations: 23.92 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.734, allocations: 4 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7341, allocations: 19.88 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.7342, allocations: 7.938 kB / 1.227 GB, free: 11.14 MB / 0.9512 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.0001046/0.7343, allocations: 126.4 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.7343, allocations: 7.953 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.7343, allocations: 12.7 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7344, allocations: 4 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7344, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7344, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.7354, allocations: 0.5334 MB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7354, allocations: 0 / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.7355, allocations: 12.09 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7355, allocations: 3.938 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.7355, allocations: 4 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7355, allocations: 11.92 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7355, allocations: 0 / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.7363, allocations: 323.4 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.7364, allocations: 101 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.7364, allocations: 7.984 kB / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.7366, allocations: 23.91 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.7367, allocations: 11.98 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.7367, allocations: 0 / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.7368, allocations: 113.7 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7368, allocations: 4 kB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003095/0.7371, allocations: 43.94 kB / 1.228 GB, free: 9.707 MB / 0.9512 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.001398/0.7385, allocations: 0.9143 MB / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.7391, allocations: 155.7 kB / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7391, allocations: 0 / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.7394, allocations: 88.17 kB / 1.229 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.7397, allocations: 11.94 kB / 1.229 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.742, allocations: 1.792 MB / 1.231 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7423, allocations: 0.7 MB / 1.231 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.7423, allocations: 7.984 kB / 1.231 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.7424, allocations: 35.42 kB / 1.231 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.7424, allocations: 4 kB / 1.231 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6919/1.434, allocations: 3.488 MB / 1.235 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.61, allocations: 19.98 kB / 1.235 GB, free: 2.516 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches