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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008519/0.0008519, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009623/0.0009624, allocations: 173 kB / 16.92 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12.84 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.297, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001792/0.2989, allocations: 1.229 MB / 1.061 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3002, allocations: 0.7363 MB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.3002, allocations: 3.938 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.3003, allocations: 3.938 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.3004, allocations: 19.84 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.3009, allocations: 103.8 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.301, allocations: 87.77 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.3011, allocations: 8 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.3012, allocations: 43.83 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.3012, allocations: 39.84 kB / 1.062 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3013, allocations: 0 / 1.062 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.3015, allocations: 95.84 kB / 1.062 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.3015, allocations: 19.95 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.3016, allocations: 61.5 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3018, allocations: 116 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3018, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3018, allocations: 3.938 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3018, allocations: 0 / 1.062 GB, free: 2.445 MB / 0.8106 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.0005599/0.3023, allocations: 447.8 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3024, allocations: 11.97 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.3024, allocations: 12.84 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3026, allocations: 168.3 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.3026, allocations: 8.375 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3026, allocations: 8.375 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3029, allocations: 93.88 kB / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3029, allocations: 0 / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3029, allocations: 0 / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3029, allocations: 0 / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3031, allocations: 55.97 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.3036, allocations: 328.6 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3038, allocations: 62.56 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3039, allocations: 52.98 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.304, allocations: 3.984 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3042, allocations: 103.3 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.3042, allocations: 0 / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004983/0.3047, allocations: 193.5 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3048, allocations: 59.41 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3049, allocations: 128.6 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3049, allocations: 30.08 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.3049, allocations: 92.36 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.305, allocations: 19.81 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.305, allocations: 25.7 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3051, allocations: 326.7 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3052, allocations: 35.95 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3054, allocations: 76.48 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3056, allocations: 117.9 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3056, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002878/0.3059, allocations: 141.3 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3059, allocations: 8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3059, allocations: 8.094 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3059, allocations: 4.094 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.306, allocations: 23.91 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3061, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.3061, allocations: 8 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3061, allocations: 4 kB / 1.064 GB, free: 15.56 MB / 0.8262 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 0.0001099/0.3063, allocations: 129.8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.3063, allocations: 11.84 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3063, allocations: 12.38 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3063, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3063, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3063, allocations: 0 / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.3069, allocations: 446.2 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3069, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.307, allocations: 7.984 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.307, allocations: 4 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.307, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.307, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.307, allocations: 3.938 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3074, allocations: 255.3 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.3074, allocations: 85.11 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3074, allocations: 4.172 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.3075, allocations: 8 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.3076, allocations: 15.86 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3076, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.3077, allocations: 99.27 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3077, allocations: 8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003064/0.308, allocations: 43.89 kB / 1.065 GB, free: 14.34 MB / 0.8262 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.0003152/0.3083, allocations: 167.3 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3086, allocations: 91.89 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3086, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3087, allocations: 59.91 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.309, allocations: 11.98 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.3094, allocations: 245.9 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3097, allocations: 0.6889 MB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.3097, allocations: 19.36 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3097, allocations: 0 / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.003739/0.3135, allocations: 1.76 MB / 1.068 GB, free: 11.25 MB / 0.8262 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