Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 107.4 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.001788/0.001788, allocations: 191.4 kB / 17.34 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 60.12 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7896, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003301/0.7929, allocations: 1.504 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7944, allocations: 0.744 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.7945, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.7945, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.7946, allocations: 15.86 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.7951, allocations: 131.5 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.7953, allocations: 87.77 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.7954, allocations: 23.98 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.7955, allocations: 47.77 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.7955, allocations: 39.84 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.7956, allocations: 8 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.7958, allocations: 99.84 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.7958, allocations: 23.95 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.7959, allocations: 35.8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.7961, allocations: 155.4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7961, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7962, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.7962, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006018/0.7968, allocations: 460.4 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.7968, allocations: 12.03 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.7969, allocations: 16.83 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.797, allocations: 180.2 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.797, allocations: 12.31 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.797, allocations: 4.375 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.7973, allocations: 93.94 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7973, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.7973, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7973, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.7975, allocations: 43.97 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.798, allocations: 320.7 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.7981, allocations: 62.56 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7983, allocations: 48.83 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.7983, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.7985, allocations: 95.39 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.7985, allocations: 0 / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004652/0.799, allocations: 189.5 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.799, allocations: 55.78 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7991, allocations: 133 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.7992, allocations: 29.7 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.7992, allocations: 88.38 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.7992, allocations: 31.81 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.7993, allocations: 33.7 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7994, allocations: 322.8 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.7995, allocations: 31.97 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.7996, allocations: 72.39 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.7998, allocations: 109.9 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7998, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002593/0.8001, allocations: 145.4 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8001, allocations: 4 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.8001, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8001, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.8002, allocations: 19.92 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8003, allocations: 4 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.8003, allocations: 11.84 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.8004, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.602e-05/0.8005, allocations: 137.8 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.8005, allocations: 7.906 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.8005, allocations: 8.469 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.8005, allocations: 7.984 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.8005, allocations: 0 / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8005, allocations: 0 / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.8011, allocations: 426.4 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8011, allocations: 4 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.8011, allocations: 7.984 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8011, allocations: 0 / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.8012, allocations: 4 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.8012, allocations: 3.984 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8012, allocations: 3.938 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.8015, allocations: 251.4 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.8016, allocations: 93.09 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.8016, allocations: 3.938 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8017, allocations: 8 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.8017, allocations: 7.922 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.8018, allocations: 4 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.8018, allocations: 95.27 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8018, allocations: 0 / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003126/0.8021, allocations: 47.98 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003031/0.8025, allocations: 167.6 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.8027, allocations: 87.89 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8027, allocations: 4 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.8029, allocations: 48.22 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.8032, allocations: 20.17 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.8036, allocations: 237.2 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.8038, allocations: 0.6885 MB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.8039, allocations: 15.44 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8039, allocations: 0 / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.003475/0.8074, allocations: 1.793 MB / 1.218 GB, free: 3.57 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches