Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 110.2 kB / 15.99 MB, free: 6.367 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.001811/0.001811, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.624/2.624, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 66.05 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00274/0.3163, allocations: 1.544 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3175, allocations: 0.7246 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3176, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.3176, allocations: 3.984 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.3177, allocations: 15.86 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.3182, allocations: 91.78 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3183, allocations: 71.83 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.3184, allocations: 12 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.3185, allocations: 47.72 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.3186, allocations: 35.89 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3186, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3188, allocations: 87.91 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3188, allocations: 15.92 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.3189, allocations: 31.86 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3191, allocations: 104.1 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3191, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3191, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3191, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006145/0.3197, allocations: 442.6 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3198, allocations: 8.625 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.3198, allocations: 12.78 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.32, allocations: 172.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.32, allocations: 16.36 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.32, allocations: 4.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3202, allocations: 69.95 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3202, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3203, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3203, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3204, allocations: 35.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3209, allocations: 300.7 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3211, allocations: 46.55 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.3212, allocations: 32.97 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3212, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3214, allocations: 91.31 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3214, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.3219, allocations: 129.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3219, allocations: 55.41 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.322, allocations: 125.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3221, allocations: 29.7 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.3221, allocations: 92.05 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3222, allocations: 27.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3222, allocations: 25.72 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3224, allocations: 322.8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.3224, allocations: 27.92 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3225, allocations: 61.08 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3227, allocations: 89.06 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3227, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002378/0.323, allocations: 113.5 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.323, allocations: 4 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.323, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.323, allocations: 3.938 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.3231, allocations: 19.98 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3231, allocations: 3.938 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.3232, allocations: 7.906 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3232, allocations: 12.14 kB / 1.069 GB, free: 9.691 MB / 0.8419 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001023/0.3233, allocations: 125.7 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3234, allocations: 3.906 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.3234, allocations: 12.38 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3234, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3234, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3234, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.3239, allocations: 378.7 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3239, allocations: 0 / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.324, allocations: 11.98 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.324, allocations: 0 / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.324, allocations: 0 / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.324, allocations: 4 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.324, allocations: 4.016 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3243, allocations: 223.3 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.3244, allocations: 81.02 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3244, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3245, allocations: 3.984 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3246, allocations: 11.94 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3246, allocations: 11.92 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.3247, allocations: 87.28 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003012/0.325, allocations: 39.98 kB / 1.07 GB, free: 8.609 MB / 0.8419 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003513/0.3253, allocations: 163.4 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3256, allocations: 75.89 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3256, allocations: 320 / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3257, allocations: 39.92 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.326, allocations: 15.98 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.3264, allocations: 214.7 kB / 1.071 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3268, allocations: 0.6924 MB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.3268, allocations: 11.44 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3268, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of Templates: time 0.003756/0.3306, allocations: 1.585 MB / 1.073 GB, free: 5.773 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches