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.006789/0.006789, allocations: 109.3 kB / 15.74 MB, free: 5.578 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.001651/0.001652, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.389/1.389, allocations: 222.9 MB / 240.4 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.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003786/1.01, allocations: 1.487 MB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001564/1.011, allocations: 0.7312 MB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/1.011, allocations: 5.031 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/1.011, allocations: 4.547 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/1.011, allocations: 10.83 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/1.012, allocations: 115.8 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/1.012, allocations: 73.48 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/1.012, allocations: 16.02 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/1.013, allocations: 33.84 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/1.013, allocations: 29.67 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/1.013, allocations: 5.094 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/1.013, allocations: 93.81 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/1.013, allocations: 23.12 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/1.013, allocations: 27.28 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/1.013, allocations: 140 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.013, allocations: 0 / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/1.013, allocations: 4 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.013, allocations: 1.406 kB / 1.091 GB, free: 3.758 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.0005807/1.014, allocations: 444.2 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.014, allocations: 10.25 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/1.014, allocations: 8 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.014, allocations: 181.6 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.014, allocations: 3.047 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/1.014, allocations: 9.5 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/1.014, allocations: 72.28 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.014, allocations: 1.156 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.014, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.014, allocations: 5.625 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/1.015, allocations: 35.81 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/1.015, allocations: 299.1 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/1.015, allocations: 53.94 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/1.015, allocations: 31.81 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.015, allocations: 1.531 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/1.016, allocations: 73.98 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.016, allocations: 0 / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004841/1.016, allocations: 148.3 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/1.016, allocations: 54.56 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/1.016, allocations: 118.3 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/1.016, allocations: 31.3 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/1.016, allocations: 95.95 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/1.016, allocations: 12.53 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/1.016, allocations: 27.95 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/1.017, allocations: 327.5 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/1.017, allocations: 20.69 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/1.017, allocations: 64.11 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/1.017, allocations: 94.61 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.017, allocations: 0.625 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002605/1.017, allocations: 116.7 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.017, allocations: 9.516 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.017, allocations: 1.469 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.017, allocations: 1.625 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/1.017, allocations: 12.02 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.017, allocations: 2.969 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/1.017, allocations: 17.66 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/1.017, allocations: 5.438 kB / 1.093 GB, free: 1.691 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 9.094e-05/1.018, allocations: 127.5 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.018, allocations: 7.25 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/1.018, allocations: 11.02 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.018, allocations: 1.797 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.018, allocations: 0 / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.018, allocations: 1.734 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/1.018, allocations: 380.1 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.018, allocations: 1.578 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/1.018, allocations: 5.281 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.018, allocations: 4.609 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.018, allocations: 2.125 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/1.018, allocations: 0.5625 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.018, allocations: 5.188 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/1.019, allocations: 210.9 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/1.019, allocations: 83.38 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/1.019, allocations: 0.7812 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/1.019, allocations: 8.906 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/1.019, allocations: 8.969 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.019, allocations: 7.875 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.581e-05/1.019, allocations: 91.58 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.019, allocations: 3.938 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003768/1.019, allocations: 42.75 kB / 1.094 GB, free: 0.8359 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.0004479/1.02, allocations: 167.1 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002945/1.02, allocations: 71.23 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.02, allocations: 0 / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/1.02, allocations: 34.12 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.02, allocations: 5.812 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/1.021, allocations: 202.1 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/1.021, allocations: 0.6871 MB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.303e-05/1.021, allocations: 8.312 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/1.021, allocations: 11.52 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.021, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.005604/1.027, allocations: 1.449 MB / 1.096 GB, free: 15.67 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