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.001777/0.001777, allocations: 102 kB / 16.4 MB, free: 6.406 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.002353/0.002353, allocations: 192.2 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.1 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.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7582, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002561/0.7608, allocations: 1.488 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.762, allocations: 0.7223 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.7621, allocations: 1.188 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.7621, allocations: 5.25 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.7622, allocations: 18.33 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.7627, allocations: 118.9 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.7629, allocations: 74.33 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.763, allocations: 7.422 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.7631, allocations: 34.69 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.7631, allocations: 34.17 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7632, allocations: 9.906 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.7634, allocations: 97.77 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.7634, allocations: 9.594 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.7635, allocations: 32.58 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.7637, allocations: 135.2 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7637, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7637, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.7638, allocations: 0 / 1.091 GB, free: 3.734 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.0005212/0.7643, allocations: 453 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7643, allocations: 14.42 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.7644, allocations: 8.797 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.7645, allocations: 173 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.7645, allocations: 3.25 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.7645, allocations: 9.172 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.7647, allocations: 72.59 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.7647, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.7647, allocations: 0.7812 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7648, allocations: 2.281 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.7649, allocations: 43.52 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.7654, allocations: 295.3 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.7655, allocations: 45.72 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.7656, allocations: 31.88 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.7656, allocations: 5.391 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.7659, allocations: 77.02 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7659, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004138/0.7663, allocations: 142 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.7663, allocations: 53.84 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.7664, allocations: 118.3 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.7664, allocations: 35.7 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.7665, allocations: 92 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.7665, allocations: 12.2 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.7666, allocations: 28.61 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.7666, allocations: 323 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.7667, allocations: 25 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.7668, allocations: 67.3 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.7669, allocations: 95.31 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.767, allocations: 0.6875 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.7672, allocations: 115.8 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7672, allocations: 6.469 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7672, allocations: 2.188 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7672, allocations: 2.953 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.7673, allocations: 11.28 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.7674, allocations: 14.52 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.7674, allocations: 18.22 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.7674, allocations: 3.875 kB / 1.094 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 7.148e-05/0.7675, allocations: 119.9 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.7675, allocations: 7.969 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.7676, allocations: 11.53 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7676, allocations: 1 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7676, allocations: 0 / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7676, allocations: 4.797 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.768, allocations: 378.7 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.768, allocations: 0 / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.7681, allocations: 5.484 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7681, allocations: 1.031 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7681, allocations: 2.406 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7681, allocations: 0 / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7681, allocations: 4.688 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.7684, allocations: 218.3 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.7684, allocations: 84.03 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.7684, allocations: 1.391 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.7685, allocations: 4.5 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.7686, allocations: 8.781 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.7686, allocations: 3.422 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.7686, allocations: 100.5 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7686, allocations: 1.031 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003517/0.769, allocations: 42.34 kB / 1.095 GB, free: 0.8086 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.0004497/0.7694, allocations: 162.3 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.7697, allocations: 74.62 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7698, allocations: 0.7188 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.7699, allocations: 41.36 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.7702, allocations: 9.406 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.7706, allocations: 215.3 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.7708, allocations: 0.6915 MB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.7708, allocations: 11.98 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.7708, allocations: 0 / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.004199/0.775, allocations: 1.586 MB / 1.097 GB, free: 15.61 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/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