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.00106/0.00106, allocations: 111.5 kB / 16.42 MB, free: 6.516 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.0009733/0.0009733, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 60.14 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6911, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002702/0.6939, allocations: 1.511 MB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.6952, allocations: 0.741 MB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.6952, allocations: 0 / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.6953, allocations: 3.938 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.6954, allocations: 11.86 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.6959, allocations: 139.5 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.6961, allocations: 95.77 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.6962, allocations: 4 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.6963, allocations: 55.77 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.6964, allocations: 39.84 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.6964, allocations: 8 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.6966, allocations: 103.8 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.6966, allocations: 23.95 kB / 1.224 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.6967, allocations: 35.8 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.697, allocations: 151.5 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.697, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.697, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.697, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 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.0006169/0.6976, allocations: 460.4 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6977, allocations: 16.61 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.6977, allocations: 12.78 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.6978, allocations: 176.2 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6979, allocations: 8.312 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.6979, allocations: 8.375 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.6981, allocations: 89.94 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.6982, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6982, allocations: 4 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6982, allocations: 0 / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.6984, allocations: 51.95 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.6989, allocations: 324.6 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.6991, allocations: 62.56 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.6992, allocations: 44.83 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.6993, allocations: 4 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.6995, allocations: 95.39 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.6995, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0005144/0.7, allocations: 189.5 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.7, allocations: 51.41 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.7002, allocations: 129.8 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.7002, allocations: 29.7 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.7002, allocations: 92.38 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.7003, allocations: 31.78 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.7003, allocations: 29.7 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7005, allocations: 327.1 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.7005, allocations: 23.98 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.7007, allocations: 76.39 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.7009, allocations: 113.9 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7009, allocations: 3.938 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.7011, allocations: 129.4 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7012, allocations: 13.5 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7012, allocations: 0 / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7012, allocations: 4 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.7013, allocations: 24.08 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.7013, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.7014, allocations: 15.94 kB / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7014, allocations: 4 kB / 1.226 GB, free: 12.59 MB / 0.9512 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.0001065/0.7015, allocations: 136.9 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.7016, allocations: 7.906 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.7016, allocations: 8.375 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7016, allocations: 4 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7016, allocations: 4 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.7017, allocations: 85.02 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.7017, allocations: 3.984 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.7018, allocations: 7.938 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7018, allocations: 7.984 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003701/0.7022, allocations: 224.8 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003887/0.7026, allocations: 322.6 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001188/0.7027, allocations: 48.05 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.7028, allocations: 98.64 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of Backend: time 3.81e-07/0.7028, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006768/0.7035, allocations: 196.8 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004845/0.704, allocations: 0.6211 MB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.00412/0.7081, allocations: 1.641 MB / 1.23 GB, free: 9.125 MB / 0.9512 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