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.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.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.006885/0.006885, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001536/0.001536, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.31/2.31, allocations: 390.2 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.841, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002606/0.8437, allocations: 1.485 MB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.845, allocations: 0.731 MB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.845, allocations: 0 / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.8451, allocations: 5.328 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.8451, allocations: 14.92 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.8457, allocations: 115.2 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.8458, allocations: 73.94 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.8459, allocations: 11.72 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.846, allocations: 33.69 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.8461, allocations: 30.19 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.8461, allocations: 5.281 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.8464, allocations: 98.34 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.8464, allocations: 18.03 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.8464, allocations: 32.08 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.8467, allocations: 140.6 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8467, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8467, allocations: 0.7969 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8468, allocations: 0 / 1.091 GB, free: 3.738 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.0005416/0.8473, allocations: 450.7 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8473, allocations: 13.56 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.8474, allocations: 9 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.8475, allocations: 173.4 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.8475, allocations: 3.219 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.8475, allocations: 9.453 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.8477, allocations: 68.3 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8477, allocations: 3.984 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.8478, allocations: 1.5 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8478, allocations: 0.75 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.8479, allocations: 39.95 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.8484, allocations: 307.4 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.8485, allocations: 49.75 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.8486, allocations: 31.86 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.8486, allocations: 0.7812 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.8488, allocations: 78.11 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8488, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004105/0.8492, allocations: 145 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.8493, allocations: 54.42 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.8494, allocations: 126 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.8494, allocations: 32.03 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.8494, allocations: 91.86 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.8495, allocations: 12.17 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.8495, allocations: 27.73 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.8496, allocations: 328.7 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.8496, allocations: 19.73 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.8497, allocations: 63.95 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.8499, allocations: 95.12 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8499, allocations: 4 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002179/0.8501, allocations: 113.2 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8502, allocations: 5.875 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8502, allocations: 1.344 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8502, allocations: 2.844 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.8503, allocations: 12.36 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8503, allocations: 2.672 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.8504, allocations: 18.19 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8504, allocations: 7.219 kB / 1.093 GB, free: 1.656 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.501e-05/0.8505, allocations: 124.9 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.8505, allocations: 7.359 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.8505, allocations: 11.02 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8505, allocations: 1.609 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8505, allocations: 0 / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8505, allocations: 4.562 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.851, allocations: 377.9 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.851, allocations: 1.094 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.851, allocations: 4.875 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.851, allocations: 0.7812 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.851, allocations: 2.297 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.851, allocations: 0.8125 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.851, allocations: 3.938 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.8513, allocations: 211.1 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.8513, allocations: 88.34 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.8514, allocations: 1.547 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.8515, allocations: 5.031 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.8515, allocations: 12.09 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8515, allocations: 7 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.8516, allocations: 96.67 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8516, allocations: 4 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003154/0.8519, allocations: 37.56 kB / 1.094 GB, free: 0.8047 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.0003111/0.8522, allocations: 168 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.8525, allocations: 75.47 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8525, allocations: 0 / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.8526, allocations: 32.73 kB / 1.094 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.8529, allocations: 11.78 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.8533, allocations: 195.1 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.8535, allocations: 0.6913 MB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.8535, allocations: 8.766 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.8535, allocations: 11.12 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8535, allocations: 0 / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.004335/0.8579, allocations: 1.446 MB / 1.096 GB, free: 15.64 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time