Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.006327/0.006327, allocations: 98.52 kB / 15.73 MB, free: 6.004 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.001327/0.001327, allocations: 191 kB / 16.67 MB, free: 5.934 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.89 kB / 1.018 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3019, allocations: 151.6 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002476/0.3044, allocations: 1.509 MB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3056, allocations: 0.7362 MB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.3057, allocations: 7.938 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.3057, allocations: 3.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.3058, allocations: 15.86 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3064, allocations: 127.6 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3065, allocations: 95.69 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.3066, allocations: 16 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.3067, allocations: 39.84 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.3068, allocations: 55.81 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3068, allocations: 4 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.307, allocations: 95.91 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.307, allocations: 19.92 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.3071, allocations: 47.78 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3074, allocations: 151.4 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3074, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3074, allocations: 4 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3074, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 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.0006404/0.3081, allocations: 466.3 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3081, allocations: 8.031 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3082, allocations: 8.891 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3083, allocations: 180.2 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3083, allocations: 16.3 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3084, allocations: 4.375 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3086, allocations: 89.89 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3086, allocations: 7.938 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3087, allocations: 3.984 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3087, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3088, allocations: 43.97 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.3095, allocations: 328.7 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3097, allocations: 62.55 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3098, allocations: 44.84 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3098, allocations: 4 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.3101, allocations: 95.39 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3101, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005049/0.3106, allocations: 185.5 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3107, allocations: 55.41 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3108, allocations: 133.8 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3108, allocations: 25.7 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3109, allocations: 96.36 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3109, allocations: 23.8 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.311, allocations: 29.7 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3111, allocations: 326.8 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3112, allocations: 27.98 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3113, allocations: 77.17 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3115, allocations: 109.9 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3115, allocations: 4 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002513/0.3118, allocations: 129.5 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3118, allocations: 11.94 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3118, allocations: 4.156 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3119, allocations: 4 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.312, allocations: 19.92 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.312, allocations: 3.984 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.312, allocations: 11.92 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3121, allocations: 12 kB / 1.172 GB, free: 1.07 MB / 0.92 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.61e-05/0.3122, allocations: 121.7 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.3122, allocations: 11.95 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.3123, allocations: 16.45 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3123, allocations: 0 / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3123, allocations: 3.984 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3123, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.3128, allocations: 438.4 kB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3128, allocations: 0 / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3129, allocations: 8 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3129, allocations: 4 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3129, allocations: 11.98 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3129, allocations: 0 / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3129, allocations: 3.938 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3133, allocations: 243.4 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.3133, allocations: 89 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3134, allocations: 4 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.3135, allocations: 11.98 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3135, allocations: 7.938 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3135, allocations: 7.984 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.3136, allocations: 95.27 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3136, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002988/0.3139, allocations: 40.12 kB / 1.173 GB, free: 15.88 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.0003285/0.3142, allocations: 165.7 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3145, allocations: 91.83 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3145, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3147, allocations: 51.92 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3149, allocations: 8.297 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.3154, allocations: 203.5 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3156, allocations: 0.6924 MB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.3157, allocations: 7.984 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.3157, allocations: 11.44 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3157, allocations: 192 / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.004423/0.3202, allocations: 1.711 MB / 1.176 GB, free: 12.91 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches