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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001583/0.001583, allocations: 106.2 kB / 15.99 MB, free: 5.891 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.001792/0.001792, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 482.2 MB / 0.7548 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 66.47 kB / 0.9238 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 162.2 MB / 1.082 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002657/0.2839, allocations: 1.563 MB / 1.084 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2851, allocations: 0.7479 MB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.2852, allocations: 0 / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2852, allocations: 3.938 kB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.2853, allocations: 15.86 kB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.2857, allocations: 111.8 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2859, allocations: 87.81 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.2859, allocations: 19.98 kB / 1.085 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.286, allocations: 43.78 kB / 1.085 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.2861, allocations: 43.83 kB / 1.085 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2861, allocations: 8 kB / 1.085 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.2863, allocations: 95.91 kB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2863, allocations: 23.91 kB / 1.085 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2864, allocations: 35.86 kB / 1.085 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2866, allocations: 108 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2866, allocations: 7.938 kB / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2866, allocations: 4 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2866, allocations: 3.938 kB / 1.085 GB, free: 10.89 MB / 0.8419 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.0006344/0.2872, allocations: 462.5 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2873, allocations: 8.031 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.2873, allocations: 8.844 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2875, allocations: 172.3 kB / 1.086 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2875, allocations: 8.375 kB / 1.086 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.2875, allocations: 8.359 kB / 1.086 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2878, allocations: 101.8 kB / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2878, allocations: 0 / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2878, allocations: 0 / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2878, allocations: 0 / 1.086 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2879, allocations: 47.95 kB / 1.086 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.2885, allocations: 320.7 kB / 1.086 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2887, allocations: 74.58 kB / 1.086 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2888, allocations: 36.84 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2888, allocations: 4 kB / 1.086 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.289, allocations: 95.36 kB / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.289, allocations: 4 kB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0004794/0.2895, allocations: 185.5 kB / 1.086 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2896, allocations: 51.41 kB / 1.087 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2897, allocations: 136.7 kB / 1.087 GB, free: 9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2897, allocations: 25.7 kB / 1.087 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.2898, allocations: 100.3 kB / 1.087 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.2898, allocations: 19.95 kB / 1.087 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.2899, allocations: 37.64 kB / 1.087 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.29, allocations: 326.8 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/0.2901, allocations: 27.98 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2902, allocations: 69.98 kB / 1.087 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2904, allocations: 109.9 kB / 1.087 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2904, allocations: 3.938 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002627/0.2907, allocations: 145.3 kB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2907, allocations: 9.719 kB / 1.087 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2907, allocations: 0 / 1.087 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2908, allocations: 4.375 kB / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.2909, allocations: 15.98 kB / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2909, allocations: 7.922 kB / 1.088 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.2909, allocations: 11.98 kB / 1.088 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.291, allocations: 11.94 kB / 1.088 GB, free: 8.016 MB / 0.8419 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.95e-05/0.2911, allocations: 125.9 kB / 1.088 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2911, allocations: 7.906 kB / 1.088 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.2911, allocations: 12.38 kB / 1.088 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2911, allocations: 0 / 1.088 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2911, allocations: 0 / 1.088 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2912, allocations: 3.984 kB / 1.088 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.2917, allocations: 434.3 kB / 1.088 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2917, allocations: 0 / 1.088 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.2918, allocations: 11.94 kB / 1.088 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2918, allocations: 0 / 1.088 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2918, allocations: 7.984 kB / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2918, allocations: 0 / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2918, allocations: 3.938 kB / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.2922, allocations: 243.4 kB / 1.088 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2923, allocations: 85.02 kB / 1.088 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2923, allocations: 4 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2924, allocations: 7.984 kB / 1.088 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.2924, allocations: 7.938 kB / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2925, allocations: 7.984 kB / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.497e-05/0.2925, allocations: 95.27 kB / 1.089 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 0 / 1.089 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002998/0.2928, allocations: 40 kB / 1.089 GB, free: 6.836 MB / 0.8419 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.0003369/0.2932, allocations: 176.3 kB / 1.089 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.2935, allocations: 99.81 kB / 1.089 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2935, allocations: 320 / 1.089 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2936, allocations: 55.92 kB / 1.089 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2939, allocations: 11.98 kB / 1.089 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.2943, allocations: 237.4 kB / 1.089 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2947, allocations: 0.6961 MB / 1.09 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.2947, allocations: 11.44 kB / 1.09 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.2947, allocations: 0 / 1.09 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.003636/0.2983, allocations: 1.786 MB / 1.092 GB, free: 3.727 MB / 0.8419 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