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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006181/0.006181, allocations: 106.3 kB / 15.74 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.001216/0.001216, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8993, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003073/0.9024, allocations: 1.502 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.9041, allocations: 0.7401 MB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.9042, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.9042, allocations: 7.938 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.9044, allocations: 19.78 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.9051, allocations: 131.5 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.9053, allocations: 91.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.9054, allocations: 16 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.9056, allocations: 39.89 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.9057, allocations: 51.83 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.9057, allocations: 8 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.906, allocations: 95.84 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.906, allocations: 23.91 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.9061, allocations: 39.8 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.9064, allocations: 147.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9064, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9064, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9065, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 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.0007721/0.9072, allocations: 468.3 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.9073, allocations: 8.031 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.9074, allocations: 8.844 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.9075, allocations: 180.2 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.9075, allocations: 8.375 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.9076, allocations: 8.359 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.9078, allocations: 85.95 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9078, allocations: 4 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.9078, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9079, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.908, allocations: 51.89 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.9086, allocations: 316.8 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.9088, allocations: 62.55 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.9089, allocations: 44.94 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.909, allocations: 11.92 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.9092, allocations: 87.36 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.9092, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005259/0.9097, allocations: 193.4 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.9098, allocations: 55.41 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.9099, allocations: 133.7 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.91, allocations: 25.7 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.91, allocations: 96.36 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.9101, allocations: 23.89 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.9101, allocations: 29.7 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9103, allocations: 326.8 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.808e-05/0.9104, allocations: 31.98 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.9105, allocations: 73.92 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.9107, allocations: 105.9 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9107, allocations: 4 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002905/0.911, allocations: 129.4 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.911, allocations: 12.16 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.911, allocations: 0 / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9111, allocations: 4 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.9112, allocations: 19.98 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9112, allocations: 3.938 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.9113, allocations: 15.83 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.9113, allocations: 8 kB / 1.213 GB, free: 7.832 MB / 0.9356 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.0001184/0.9114, allocations: 125.7 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.9114, allocations: 11.91 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.9115, allocations: 12.38 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.9115, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9115, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9115, allocations: 3.984 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.9121, allocations: 426.4 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.9121, allocations: 480 / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.9121, allocations: 8 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9121, allocations: 4 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.9122, allocations: 11.98 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.9122, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9122, allocations: 7.875 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.9125, allocations: 247.3 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.9126, allocations: 85.02 kB / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.9126, allocations: 0 / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.9127, allocations: 15.98 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.9128, allocations: 11.88 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.9128, allocations: 7.984 kB / 1.214 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.9129, allocations: 94.89 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9129, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003302/0.9132, allocations: 40 kB / 1.214 GB, free: 6.641 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.0003713/0.9136, allocations: 171 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.9139, allocations: 95.91 kB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9139, allocations: 3.938 kB / 1.214 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.914, allocations: 43.92 kB / 1.214 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.9143, allocations: 20.3 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.9148, allocations: 211.5 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.9151, allocations: 0.6924 MB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.279e-05/0.9152, allocations: 4 kB / 1.215 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.9152, allocations: 15.42 kB / 1.215 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.9152, allocations: 4 kB / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004705/0.9199, allocations: 1.708 MB / 1.217 GB, free: 3.652 MB / 0.9356 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/jenkins/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