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.001137/0.001137, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001373/0.001373, allocations: 177.3 kB / 15.94 MB, free: 228 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6277, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001429/0.6292, allocations: 1.207 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.6302, allocations: 0.6862 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.6303, allocations: 3.938 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.6303, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.6304, allocations: 27.89 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.6308, allocations: 95.7 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.6309, allocations: 51.88 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.631, allocations: 15.97 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.6311, allocations: 31.92 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.6312, allocations: 47.81 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.6312, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.6313, allocations: 59.95 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.6314, allocations: 23.89 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.6314, allocations: 41.64 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.6316, allocations: 105.8 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.6316, allocations: 3.938 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6316, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.6316, allocations: 0 / 1.023 GB, free: 14.7 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.000511/0.6321, allocations: 446.4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6322, allocations: 15.98 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.6322, allocations: 11.89 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.6323, allocations: 171 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.6324, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.6324, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.6326, allocations: 101.5 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6326, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6326, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.6327, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6328, allocations: 51.97 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.6333, allocations: 332.7 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.6335, allocations: 66.59 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.6335, allocations: 4.141 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.6337, allocations: 107.3 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.6338, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000465/0.6342, allocations: 189.5 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.6343, allocations: 59.33 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.6344, allocations: 136.7 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6344, allocations: 25.7 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.6345, allocations: 96.38 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.6345, allocations: 23.66 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.6345, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.6346, allocations: 322.8 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.6347, allocations: 31.98 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.6348, allocations: 80.23 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.6349, allocations: 39.98 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6349, allocations: 3.953 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002617/0.6352, allocations: 141.4 kB / 1.025 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6352, allocations: 5.875 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6352, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6352, allocations: 8.156 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.6353, allocations: 15.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6353, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.6354, allocations: 15.94 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.6354, allocations: 4 kB / 1.026 GB, free: 11.98 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 8.627e-05/0.6355, allocations: 125.8 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.6356, allocations: 15.84 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.6356, allocations: 12.38 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6356, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6356, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6356, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.6361, allocations: 438.7 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6362, allocations: 96 / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.6362, allocations: 19.92 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6362, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6362, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6362, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6363, allocations: 3.938 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.6366, allocations: 255.3 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.6366, allocations: 88.95 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.6367, allocations: 7.922 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6368, allocations: 8 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.6368, allocations: 11.92 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.6368, allocations: 4 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.6369, allocations: 95.27 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6369, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003157/0.6372, allocations: 43.98 kB / 1.027 GB, free: 10.77 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.0002956/0.6375, allocations: 159.2 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.6378, allocations: 103.9 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6378, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.6379, allocations: 51.97 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.6381, allocations: 11.95 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.6386, allocations: 220.5 kB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.6388, allocations: 0.6926 MB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.6388, allocations: 4 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.6389, allocations: 15.42 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6389, allocations: 4 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of Templates: time 0.004075/0.6429, allocations: 1.552 MB / 1.029 GB, free: 7.93 MB / 0.7794 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","../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:SA.amplitude,SA.f,SA.offset,SA.phase,SA.startTime,SA.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.blindState,bli.occ,bli.pUp,bli.samplePeriod,bli.seed,bli.solarAltitude,bli.t0,occ.startTime,occ.startValue,occ.y,time