Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001414/0.001414, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001507/0.001507, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.816/0.8174, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002464/0.8199, allocations: 1.491 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.8211, allocations: 0.726 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.8212, allocations: 1.125 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.8212, allocations: 5.062 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.8213, allocations: 10.28 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.8218, allocations: 120 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.822, allocations: 69.94 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.8221, allocations: 10.89 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.8222, allocations: 42.88 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.8223, allocations: 29.55 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.8223, allocations: 5.281 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.8225, allocations: 89.77 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.8225, allocations: 19.17 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.8226, allocations: 31.03 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.8228, allocations: 143.8 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8228, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8229, allocations: 1 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8229, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8575 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.000526/0.8234, allocations: 449 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8234, allocations: 9.281 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.8235, allocations: 13.17 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.8236, allocations: 177.4 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.8236, allocations: 2.922 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.8236, allocations: 8.188 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.8238, allocations: 69.25 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8239, allocations: 4.562 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.8239, allocations: 1.719 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.8239, allocations: 0.5625 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.824, allocations: 39.61 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.8245, allocations: 295.6 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.8246, allocations: 45.64 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.8247, allocations: 35.69 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.8248, allocations: 1.656 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.825, allocations: 81.59 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.825, allocations: 0 / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.8254, allocations: 137.1 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.8254, allocations: 54.05 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.8255, allocations: 118.9 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8255, allocations: 31.48 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.8256, allocations: 99.73 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.8256, allocations: 8.094 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.8256, allocations: 32.34 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.8257, allocations: 323.7 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.8258, allocations: 21.22 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.8259, allocations: 67.05 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.826, allocations: 87.27 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.826, allocations: 4.844 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002164/0.8263, allocations: 112.6 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8263, allocations: 6.312 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8263, allocations: 1.125 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.8263, allocations: 1.969 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.8264, allocations: 16.77 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.8264, allocations: 3.375 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.8265, allocations: 21.12 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.8265, allocations: 8.719 kB / 1.094 GB, free: 1.688 MB / 0.8575 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.415e-05/0.8266, allocations: 119.8 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.8266, allocations: 11.83 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.8266, allocations: 11.2 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8266, allocations: 0.9688 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8266, allocations: 3.938 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8267, allocations: 1.656 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.8271, allocations: 382.5 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8271, allocations: 0 / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.8271, allocations: 4.5 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8271, allocations: 0.9688 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.8271, allocations: 2.359 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8271, allocations: 1.094 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8272, allocations: 4.453 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.8274, allocations: 222.7 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.8275, allocations: 83.48 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.8275, allocations: 1.453 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.8276, allocations: 4.391 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.8276, allocations: 8.531 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.8276, allocations: 4.094 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.8277, allocations: 99.69 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8277, allocations: 4.75 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000331/0.828, allocations: 42.52 kB / 1.095 GB, free: 0.8242 MB / 0.8575 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.0003278/0.8284, allocations: 155.4 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.8286, allocations: 71.69 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8286, allocations: 4 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8287, allocations: 37.69 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.829, allocations: 6.797 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.8294, allocations: 215.2 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.8297, allocations: 0.6945 MB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.8297, allocations: 11.81 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8297, allocations: 0 / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.004136/0.8339, allocations: 1.584 MB / 1.097 GB, free: 15.63 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches