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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00117/0.00117, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001671/0.001671, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.000511, allocations: 15.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8001, allocations: 153.8 MB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001645/0.8018, allocations: 1.207 MB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.803, allocations: 0.694 MB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.803, allocations: 4 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.8031, allocations: 3.938 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.8032, allocations: 15.86 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.8037, allocations: 91.83 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.8038, allocations: 87.69 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.8039, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.804, allocations: 39.91 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.8041, allocations: 39.83 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.8041, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.8043, allocations: 91.84 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.8043, allocations: 11.98 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.8043, allocations: 41.62 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.8045, allocations: 113.7 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8045, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8045, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8046, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 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.0005821/0.8051, allocations: 442.4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8052, allocations: 8.562 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.8052, allocations: 7.906 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.8054, allocations: 178.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.8054, allocations: 8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.8054, allocations: 11.94 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.8057, allocations: 93.58 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8057, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.8057, allocations: 4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.8057, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.8058, allocations: 47.97 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.8064, allocations: 332.6 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.8066, allocations: 74.53 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.8067, allocations: 40.84 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.8067, allocations: 11.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.8069, allocations: 95.39 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.8069, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004705/0.8074, allocations: 197.5 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.8075, allocations: 55.41 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8076, allocations: 125.8 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.8076, allocations: 29.64 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.8077, allocations: 92.38 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.8077, allocations: 27.64 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.8078, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8079, allocations: 318.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.808, allocations: 35.97 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.8081, allocations: 70 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.8082, allocations: 52.25 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8082, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002431/0.8084, allocations: 137.5 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8085, allocations: 8 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8085, allocations: 3.938 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8085, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.8086, allocations: 19.92 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8086, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.8087, allocations: 15.84 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.8087, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.8088, allocations: 139.4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.8088, allocations: 4 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.8089, allocations: 12.38 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8089, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8089, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8089, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.8094, allocations: 442.4 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8094, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.8095, allocations: 7.984 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8095, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.8095, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8095, allocations: 7.984 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8095, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.8099, allocations: 259.3 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.8099, allocations: 92.94 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.81, allocations: 0 / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.8101, allocations: 4 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.8101, allocations: 11.98 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.8101, allocations: 8 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.8102, allocations: 99.19 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8102, allocations: 0 / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003202/0.8105, allocations: 40 kB / 1.028 GB, free: 9.699 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004/0.8109, allocations: 170.2 kB / 1.028 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.8112, allocations: 95.89 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8112, allocations: 0 / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.8113, allocations: 51.91 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.8116, allocations: 29.91 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.812, allocations: 212.8 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.8123, allocations: 0.6887 MB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.8123, allocations: 8 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.8124, allocations: 11.44 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8124, allocations: 0 / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.004202/0.8166, allocations: 1.553 MB / 1.031 GB, free: 6.852 MB / 0.7794 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