Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_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.001253/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001185/0.001185, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.05 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5299, allocations: 140.4 MB / 0.949 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002243/0.5322, allocations: 1.693 MB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.5332, allocations: 0.7965 MB / 0.9515 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.5332, allocations: 4.938 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.5333, allocations: 5.094 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.5333, allocations: 18.31 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.5337, allocations: 127.5 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.5339, allocations: 147.2 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.534, allocations: 31 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.5341, allocations: 55.11 kB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.5342, allocations: 74.97 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.5342, allocations: 8.125 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.5343, allocations: 93.69 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.5344, allocations: 32.27 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.5344, allocations: 61.08 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.5347, allocations: 202.3 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5347, allocations: 0 / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5347, allocations: 0 / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.5347, allocations: 0 / 0.9523 GB, free: 6.758 MB / 0.7169 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.0006108/0.5353, allocations: 0.5361 MB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5353, allocations: 10.12 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.5354, allocations: 40.09 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.5354, allocations: 15.14 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.5355, allocations: 195.4 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5355, allocations: 8.312 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.5356, allocations: 4.969 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.536, allocations: 142.8 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.536, allocations: 0 / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.536, allocations: 1.094 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.536, allocations: 5.062 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.5364, allocations: 103.9 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.5371, allocations: 380.8 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.5374, allocations: 96.12 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5377, allocations: 90.97 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.5377, allocations: 3.938 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.5381, allocations: 142.7 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.5381, allocations: 112 / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001035/0.5391, allocations: 306.6 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.5392, allocations: 53.38 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.5393, allocations: 148.4 kB / 0.9545 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5393, allocations: 30.98 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.5393, allocations: 96.59 kB / 0.9546 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.5394, allocations: 30.5 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.5394, allocations: 31.27 kB / 0.9547 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.5394, allocations: 329.7 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5396, allocations: 39.41 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5397, allocations: 83.06 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.54, allocations: 126.7 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.54, allocations: 1.406 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003111/0.5403, allocations: 154.4 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5403, allocations: 6.281 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.5403, allocations: 1.562 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5403, allocations: 2.031 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.5405, allocations: 34.31 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5405, allocations: 2.094 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5406, allocations: 23.36 kB / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5406, allocations: 8.031 kB / 0.9554 GB, free: 4.004 MB / 0.7169 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 6.802e-05/0.5407, allocations: 120.4 kB / 0.9556 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.5407, allocations: 12.25 kB / 0.9556 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.5408, allocations: 15.27 kB / 0.9556 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5408, allocations: 1.688 kB / 0.9556 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5408, allocations: 4 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5408, allocations: 2.094 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.5416, allocations: 0.5199 MB / 0.9561 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5416, allocations: 1.094 kB / 0.9561 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/0.5417, allocations: 16.2 kB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5417, allocations: 1.031 kB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.5417, allocations: 1.344 kB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5417, allocations: 3.938 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5417, allocations: 1.062 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.5424, allocations: 328.2 kB / 0.9564 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.5424, allocations: 84.92 kB / 0.9565 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.5425, allocations: 6.719 kB / 0.9565 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5427, allocations: 31.31 kB / 0.9566 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5427, allocations: 11.58 kB / 0.9566 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5428, allocations: 7.547 kB / 0.9566 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.5428, allocations: 111.1 kB / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5428, allocations: 0 / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003043/0.5431, allocations: 46.97 kB / 0.9567 GB, free: 2.93 MB / 0.7169 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.001016/0.5442, allocations: 0.9245 MB / 0.9576 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.5446, allocations: 147.4 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5446, allocations: 0 / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.5449, allocations: 87.84 kB / 0.9579 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5452, allocations: 15.48 kB / 0.9579 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.5469, allocations: 1.795 MB / 0.9596 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.5471, allocations: 0.6996 MB / 0.9603 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.5472, allocations: 12.42 kB / 0.9603 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.5472, allocations: 34.73 kB / 0.9603 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5472, allocations: 0 / 0.9603 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.5598, allocations: 3.185 MB / 0.9635 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.5601, allocations: 273.5 kB / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.3, allocations: 0 / 0.9637 GB, free: 13.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches