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.001185/0.001185, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00123/0.00123, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.8 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002589/0.3262, allocations: 1.517 MB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3274, allocations: 0.7593 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.3275, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3275, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.3276, allocations: 19.8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.3281, allocations: 127.6 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3283, allocations: 87.75 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.3283, allocations: 16 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.3284, allocations: 43.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.3285, allocations: 39.83 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3285, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3287, allocations: 99.84 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.3288, allocations: 27.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.3289, allocations: 35.86 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3291, allocations: 163.5 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3291, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3291, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.3291, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 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.0006029/0.3297, allocations: 454.6 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3298, allocations: 12.03 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.3298, allocations: 8.844 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3299, allocations: 175.5 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.33, allocations: 8.375 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.33, allocations: 12.31 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3302, allocations: 85.94 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3302, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3303, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3303, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3304, allocations: 51.89 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.331, allocations: 336.6 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3312, allocations: 62.66 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3313, allocations: 48.77 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3313, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3316, allocations: 95.36 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3316, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005044/0.3321, allocations: 181.5 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3322, allocations: 59.41 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.3323, allocations: 121.8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3323, allocations: 33.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.3324, allocations: 100.2 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3324, allocations: 15.81 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.3324, allocations: 41.64 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3326, allocations: 326.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3327, allocations: 23.98 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3328, allocations: 80.31 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.333, allocations: 106.3 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.333, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002722/0.3333, allocations: 141.4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3333, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3333, allocations: 7.938 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3334, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3335, allocations: 11.98 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3335, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.3336, allocations: 12.06 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3336, allocations: 11.98 kB / 1.032 GB, free: 12.27 MB / 0.8106 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.318e-05/0.3337, allocations: 131.1 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.3337, allocations: 11.91 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.3337, allocations: 8.375 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3337, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3338, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3338, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.3343, allocations: 442.5 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3343, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.3344, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3344, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3344, allocations: 3.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3344, allocations: 7.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3344, allocations: 3.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.3348, allocations: 247.4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3348, allocations: 85.11 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3348, allocations: 3.984 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.335, allocations: 7.938 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.335, allocations: 11.92 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.335, allocations: 7.984 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.3351, allocations: 99.27 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3351, allocations: 3.938 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003174/0.3354, allocations: 44 kB / 1.033 GB, free: 11.07 MB / 0.8106 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.0003276/0.3357, allocations: 171 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.336, allocations: 96.08 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.336, allocations: 4.062 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3362, allocations: 43.97 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3365, allocations: 15.98 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.3369, allocations: 187.7 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3372, allocations: 0.6924 MB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.3372, allocations: 8 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.3372, allocations: 15.42 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3372, allocations: 0 / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.004744/0.342, allocations: 1.702 MB / 1.036 GB, free: 8.113 MB / 0.8106 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 -s cvode -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