Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.273 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.369/2.369, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6067, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001472/0.6082, allocations: 1.211 MB / 0.9569 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.6095, allocations: 0.7028 MB / 0.9576 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.6096, allocations: 4 kB / 0.9576 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.6096, allocations: 7.922 kB / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.6097, allocations: 14.2 kB / 0.9576 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.6101, allocations: 95.84 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.6103, allocations: 73.14 kB / 0.9578 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.6103, allocations: 13.11 kB / 0.9578 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.6104, allocations: 28.45 kB / 0.9578 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.6105, allocations: 33.67 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.6105, allocations: 6.188 kB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.6107, allocations: 89.44 kB / 0.9579 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.6107, allocations: 10.27 kB / 0.9579 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.6108, allocations: 55.75 kB / 0.958 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.6109, allocations: 99.7 kB / 0.9581 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6109, allocations: 0 / 0.9581 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.611, allocations: 0 / 0.9581 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.611, allocations: 1.188 kB / 0.9581 GB, free: 5.785 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004428/0.6114, allocations: 434.5 kB / 0.9585 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6115, allocations: 9.344 kB / 0.9585 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.6115, allocations: 8 kB / 0.9585 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.6116, allocations: 179.6 kB / 0.9587 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6116, allocations: 7.719 kB / 0.9587 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.6116, allocations: 10.61 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.6118, allocations: 72.91 kB / 0.9588 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6118, allocations: 0 / 0.9588 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.6118, allocations: 7.938 kB / 0.9588 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6119, allocations: 1.594 kB / 0.9588 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.612, allocations: 41.66 kB / 0.9588 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.6124, allocations: 305.9 kB / 0.9591 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.6125, allocations: 47.72 kB / 0.9592 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.6126, allocations: 38.91 kB / 0.9592 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.6126, allocations: 3.938 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.6128, allocations: 84.72 kB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6128, allocations: 0 / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000386/0.6132, allocations: 151.4 kB / 0.9594 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6132, allocations: 53.78 kB / 0.9595 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.6133, allocations: 116.9 kB / 0.9596 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6134, allocations: 34.81 kB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.6134, allocations: 90.77 kB / 0.9597 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.6134, allocations: 18.44 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.6135, allocations: 21.45 kB / 0.9597 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.6135, allocations: 321.7 kB / 0.9601 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.6136, allocations: 26.42 kB / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.6137, allocations: 66.22 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.6138, allocations: 100.8 kB / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6138, allocations: 0 / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.6141, allocations: 123 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6141, allocations: 4.875 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6141, allocations: 1.344 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6141, allocations: 2.125 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.6142, allocations: 11.34 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.6142, allocations: 1.688 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.6143, allocations: 22.17 kB / 0.9604 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.6143, allocations: 3.812 kB / 0.9604 GB, free: 3.57 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 (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 6.036e-05/0.6144, allocations: 124.5 kB / 0.9605 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.6144, allocations: 7.031 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.6144, allocations: 10.11 kB / 0.9605 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6144, allocations: 1.125 kB / 0.9605 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6144, allocations: 3.938 kB / 0.9605 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6144, allocations: 1.469 kB / 0.9605 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.6148, allocations: 387.3 kB / 0.9609 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6148, allocations: 0 / 0.9609 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.6149, allocations: 4.125 kB / 0.9609 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6149, allocations: 1.375 kB / 0.9609 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6149, allocations: 3.984 kB / 0.9609 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6149, allocations: 1.375 kB / 0.9609 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6149, allocations: 7.938 kB / 0.9609 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.6151, allocations: 218.4 kB / 0.9611 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.6152, allocations: 86.33 kB / 0.9612 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.6152, allocations: 9.344 kB / 0.9612 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.6153, allocations: 16.11 kB / 0.9612 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.6153, allocations: 10.67 kB / 0.9613 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.6153, allocations: 2.75 kB / 0.9613 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.6154, allocations: 97.48 kB / 0.9613 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6154, allocations: 0 / 0.9613 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000305/0.6157, allocations: 35.5 kB / 0.9614 GB, free: 2.648 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 (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.0003104/0.616, allocations: 155.8 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.6162, allocations: 74.64 kB / 0.9616 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6163, allocations: 0 / 0.9616 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.6164, allocations: 39.61 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.6166, allocations: 19.48 kB / 0.9617 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.617, allocations: 240.5 kB / 0.9619 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.6171, allocations: 0.6878 MB / 0.9626 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.6171, allocations: 15.55 kB / 0.9626 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6171, allocations: 3.938 kB / 0.9626 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.003449/0.6206, allocations: 1.556 MB / 0.9641 GB, free: 0.75 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches