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: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 100.8 kB / 16.35 MB, free: 5.824 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.001596/0.001596, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.48 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3028, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00317/0.3061, allocations: 1.637 MB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3075, allocations: 0.7945 MB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.3076, allocations: 4 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.3076, allocations: 11.86 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.3077, allocations: 15.8 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.3083, allocations: 159.5 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3085, allocations: 155.5 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3087, allocations: 25.11 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3088, allocations: 67.81 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3089, allocations: 75.72 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3089, allocations: 12 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3091, allocations: 99.86 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.3092, allocations: 47.88 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.3093, allocations: 55.72 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3095, allocations: 203.4 kB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3096, allocations: 0 / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3096, allocations: 0 / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3096, allocations: 0 / 0.9544 GB, free: 4.691 MB / 0.7325 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.0008969/0.3105, allocations: 0.5484 MB / 0.9549 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3105, allocations: 8.031 kB / 0.9549 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.3106, allocations: 16.84 kB / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3107, allocations: 184.1 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3108, allocations: 8.375 kB / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3108, allocations: 8.359 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.3112, allocations: 141.8 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3113, allocations: 0 / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3113, allocations: 8 kB / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3113, allocations: 0 / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.3117, allocations: 103.9 kB / 0.9554 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.3125, allocations: 380.5 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.3128, allocations: 102.5 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3131, allocations: 88.78 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3131, allocations: 4 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.3135, allocations: 147.4 kB / 0.9561 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.3135, allocations: 112 / 0.9561 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.00103/0.3146, allocations: 313.2 kB / 0.9564 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3146, allocations: 55.41 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3147, allocations: 149.1 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3148, allocations: 25.7 kB / 0.9566 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.3148, allocations: 104.3 kB / 0.9567 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3149, allocations: 23.66 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.3149, allocations: 33.7 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.315, allocations: 326.8 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3152, allocations: 43.97 kB / 0.9571 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3153, allocations: 77.11 kB / 0.9572 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3156, allocations: 129 kB / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3156, allocations: 0 / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000329/0.3159, allocations: 157.4 kB / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3159, allocations: 7.984 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3159, allocations: 0 / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.316, allocations: 4 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3161, allocations: 19.98 kB / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3161, allocations: 0 / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3162, allocations: 24.02 kB / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3163, allocations: 7.938 kB / 0.9575 GB, free: 1.207 MB / 0.7325 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.0001033/0.3164, allocations: 125.8 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3164, allocations: 7.906 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3164, allocations: 12.7 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3164, allocations: 4 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3165, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3165, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.3174, allocations: 0.5216 MB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3174, allocations: 0 / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.3175, allocations: 20.45 kB / 0.9582 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3175, allocations: 4 kB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.3175, allocations: 7.984 kB / 0.9582 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3176, allocations: 7.875 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3176, allocations: 0 / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.3183, allocations: 327.1 kB / 0.9585 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.3184, allocations: 85.06 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3184, allocations: 7.938 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3187, allocations: 35.78 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.3187, allocations: 11.98 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3187, allocations: 0 / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.3188, allocations: 113.3 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3188, allocations: 0 / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003306/0.3192, allocations: 44 kB / 0.9588 GB, free: 15.79 MB / 0.7481 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.0003577/0.3195, allocations: 166.9 kB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.32, allocations: 143.8 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3201, allocations: 0 / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.3204, allocations: 100.1 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3207, allocations: 7.859 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.3213, allocations: 272.1 kB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3216, allocations: 0.6963 MB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.802e-05/0.3216, allocations: 7.984 kB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.3217, allocations: 15.44 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3217, allocations: 0 / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.004933/0.3266, allocations: 2.008 MB / 0.9621 GB, free: 12.35 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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