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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008586/0.008586, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12.44 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001472/0.2786, allocations: 1.233 MB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2798, allocations: 0.7401 MB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.2798, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2799, allocations: 7.922 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.2799, allocations: 11.94 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2804, allocations: 103.8 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2805, allocations: 87.77 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.2806, allocations: 15.97 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.2806, allocations: 31.86 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.2807, allocations: 47.81 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2808, allocations: 11.94 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2809, allocations: 87.91 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.281, allocations: 11.98 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.281, allocations: 61.5 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.2812, allocations: 147.9 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2812, allocations: 0 / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2812, allocations: 3.938 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2813, allocations: 0 / 1.061 GB, free: 2.219 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.0005139/0.2818, allocations: 458.6 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2818, allocations: 15.97 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.2819, allocations: 30.75 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.2819, allocations: 8.844 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/0.282, allocations: 176.3 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.282, allocations: 4.375 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.282, allocations: 4.375 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.2823, allocations: 97.69 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2823, allocations: 7.938 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2823, allocations: 4 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2823, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2824, allocations: 51.97 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2829, allocations: 328.6 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.2831, allocations: 70.58 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.2832, allocations: 44.84 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2832, allocations: 160 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.2834, allocations: 107.3 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.2834, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004419/0.2839, allocations: 193.5 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.2839, allocations: 59.41 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.284, allocations: 129.8 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.284, allocations: 29.7 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.2841, allocations: 88.38 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.2841, allocations: 27.64 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.2842, allocations: 17.72 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.2843, allocations: 326.8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.2843, allocations: 31.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2845, allocations: 73.98 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.2847, allocations: 121.8 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2847, allocations: 3.938 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002477/0.2849, allocations: 141.4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2849, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.285, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.285, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.2851, allocations: 19.92 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2851, allocations: 384 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.2852, allocations: 20.14 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2852, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 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 8.548e-05/0.2853, allocations: 125.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2853, allocations: 11.84 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.2853, allocations: 12.36 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2853, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2853, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2853, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.2858, allocations: 446.2 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2859, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.2859, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2859, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2859, allocations: 7.984 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2859, allocations: 4 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2859, allocations: 3.938 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2863, allocations: 251.3 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.2863, allocations: 81.02 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2863, allocations: 8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.2864, allocations: 11.98 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2865, allocations: 7.938 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2865, allocations: 3.984 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.2865, allocations: 101.8 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2866, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002922/0.2868, allocations: 43.98 kB / 1.065 GB, free: 14.06 MB / 0.8262 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.0007428/0.2876, allocations: 0.8495 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.2878, allocations: 99.83 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2879, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.288, allocations: 47.98 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2882, allocations: 20.17 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2897, allocations: 1.622 MB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2899, allocations: 0.6928 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.29, allocations: 7.984 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.29, allocations: 27.38 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.29, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5435/0.8335, allocations: 2.638 MB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.8338, allocations: 269.2 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.98, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > 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