Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.00129/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001271/0.001271, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5733, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002448/0.5758, allocations: 1.562 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.5769, allocations: 0.7635 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.577, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.577, allocations: 3.984 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.5771, allocations: 11.88 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.5775, allocations: 107.8 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.5776, allocations: 87.77 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.5777, allocations: 11.92 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.5778, allocations: 35.91 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.5778, allocations: 43.81 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.5779, allocations: 8 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.578, allocations: 91.84 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.5781, allocations: 19.92 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.5781, allocations: 39.88 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.5783, allocations: 153.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5784, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5784, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5784, allocations: 4 kB / 1.02 GB, free: 15.82 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.0005372/0.5789, allocations: 454.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.579, allocations: 12.03 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.579, allocations: 38.75 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.579, allocations: 12.84 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5791, allocations: 181.3 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5792, allocations: 4.375 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.5792, allocations: 12.38 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.5794, allocations: 89.73 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.5794, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5794, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5794, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.5796, allocations: 55.91 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.5801, allocations: 312.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.5803, allocations: 66.55 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5804, allocations: 44.84 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5804, allocations: 8.141 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.5806, allocations: 95.38 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.5806, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004695/0.5811, allocations: 185.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5811, allocations: 59.39 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.5812, allocations: 129.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5813, allocations: 29.64 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.5813, allocations: 100.3 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.5813, allocations: 23.69 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.5814, allocations: 33.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5815, allocations: 322.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.5816, allocations: 27.98 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5817, allocations: 79.75 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.5819, allocations: 109.9 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5819, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000249/0.5821, allocations: 129.4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5822, allocations: 7.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5822, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.5822, allocations: 8.156 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.5823, allocations: 19.98 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5823, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.5824, allocations: 15.83 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.5824, allocations: 4 kB / 1.022 GB, free: 12.91 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 (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.802e-05/0.5825, allocations: 131.8 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.5825, allocations: 7.906 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.5825, allocations: 16.36 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5826, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5826, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5826, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.5831, allocations: 430.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5831, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.5832, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5832, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5832, allocations: 7.984 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5832, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5832, allocations: 7.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.5835, allocations: 251.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.5836, allocations: 84.95 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5836, allocations: 8 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5837, allocations: 3.984 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.5838, allocations: 15.88 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5838, allocations: 7.984 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.5838, allocations: 99.27 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.333e-06/0.5839, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002906/0.5841, allocations: 43.94 kB / 1.023 GB, free: 11.7 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 (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.0007907/0.5849, allocations: 0.8383 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.5852, allocations: 92.02 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5852, allocations: 320 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.5853, allocations: 55.91 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5856, allocations: 18.92 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5871, allocations: 1.604 MB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.5873, allocations: 0.6887 MB / 1.026 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.5874, allocations: 7.984 kB / 1.026 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.5874, allocations: 23.38 kB / 1.026 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5874, allocations: 4 kB / 1.026 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06066/0.6481, allocations: 2.744 MB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.6485, allocations: 270.8 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.47, allocations: 0 / 1.029 GB, free: 5.289 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches