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.005479/0.005479, allocations: 101.8 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.001085/0.001085, allocations: 187.2 kB / 16.67 MB, free: 5.938 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.384/1.384, 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 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8268, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002772/0.8295, allocations: 1.495 MB / 1.222 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.8309, allocations: 0.7254 MB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.831, allocations: 3.938 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.831, allocations: 3.938 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.8311, allocations: 15.86 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.8317, allocations: 115.6 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.8318, allocations: 71.72 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.8319, allocations: 19.94 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.832, allocations: 31.91 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.8321, allocations: 31.84 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.8321, allocations: 11.94 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.8323, allocations: 95.84 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.8323, allocations: 11.98 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.8324, allocations: 39.78 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.8326, allocations: 136.1 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8326, allocations: 0 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8326, allocations: 0 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.8326, allocations: 4 kB / 1.223 GB, free: 15.3 MB / 0.9512 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.0006126/0.8333, allocations: 446.4 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8333, allocations: 12.62 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.8333, allocations: 8.891 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8335, allocations: 172.3 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.8335, allocations: 4.359 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.8335, allocations: 8.375 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.8337, allocations: 69.97 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.8337, allocations: 4 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8337, allocations: 0 / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8337, allocations: 0 / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.8339, allocations: 35.97 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.8344, allocations: 296.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.8345, allocations: 54.48 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.8346, allocations: 32.97 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.8346, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.8348, allocations: 79.31 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.8348, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004345/0.8352, allocations: 141.5 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.8353, allocations: 55.39 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8354, allocations: 125.7 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.8354, allocations: 29.7 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.8355, allocations: 92.12 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.8355, allocations: 19.97 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.8355, allocations: 25.7 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.8356, allocations: 318.8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.175e-05/0.8357, allocations: 23.98 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.8358, allocations: 65.12 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.836, allocations: 93 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.836, allocations: 4 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002229/0.8362, allocations: 109.5 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8362, allocations: 8 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8362, allocations: 4.156 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8362, allocations: 4 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.8363, allocations: 15.92 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8363, allocations: 4 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.8364, allocations: 15.92 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8364, allocations: 8 kB / 1.226 GB, free: 12.7 MB / 0.9512 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.41e-05/0.8365, allocations: 124 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.8365, allocations: 7.953 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.8366, allocations: 12.38 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8366, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8366, allocations: 7.938 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8366, allocations: 3.984 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.837, allocations: 374.4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.837, allocations: 4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.8371, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8371, allocations: 4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8371, allocations: 8 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8371, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8371, allocations: 7.922 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.8374, allocations: 199.5 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.8374, allocations: 85.06 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.8374, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.8375, allocations: 7.984 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.8376, allocations: 15.94 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.8376, allocations: 3.984 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.8377, allocations: 91.27 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.8377, allocations: 3.938 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003627/0.838, allocations: 43.88 kB / 1.227 GB, free: 11.61 MB / 0.9512 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.000414/0.8384, allocations: 167.7 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.8387, allocations: 67.89 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8387, allocations: 0 / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.8388, allocations: 27.98 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.8391, allocations: 15.92 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.8396, allocations: 200.1 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8399, allocations: 0.6923 MB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.8399, allocations: 0 / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.84, allocations: 15.44 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.84, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.004559/0.8445, allocations: 1.438 MB / 1.229 GB, free: 8.953 MB / 0.9512 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time