Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.001477/0.001477, 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.001778/0.001778, allocations: 197.2 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.38 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003245/0.2775, allocations: 1.56 MB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2789, allocations: 0.7556 MB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.279, allocations: 0 / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.2791, allocations: 3.938 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.2792, allocations: 7.938 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.2798, allocations: 111.8 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2799, allocations: 87.7 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.28, allocations: 15.98 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.2801, allocations: 31.92 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.2802, allocations: 47.75 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2802, allocations: 4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2804, allocations: 91.91 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.2805, allocations: 19.92 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2805, allocations: 39.78 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.2808, allocations: 159.8 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2808, allocations: 3.984 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2808, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2808, allocations: 0 / 1.055 GB, free: 5.254 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.0006452/0.2815, allocations: 454.7 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2815, allocations: 19.97 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.2816, allocations: 30.75 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.2816, allocations: 8.844 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2818, allocations: 172.3 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.2818, allocations: 8.375 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2818, allocations: 4.375 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2821, allocations: 97.69 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2821, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2821, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2821, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.2823, allocations: 47.97 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.2829, allocations: 328.7 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.2831, allocations: 70.48 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2832, allocations: 48.83 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2832, allocations: 0 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.2835, allocations: 91.36 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2835, allocations: 3.938 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004857/0.284, allocations: 185.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.284, allocations: 63.34 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2841, allocations: 125.8 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2842, allocations: 29.8 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.2842, allocations: 96.22 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2842, allocations: 23.73 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.2843, allocations: 29.72 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2844, allocations: 326.8 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.2845, allocations: 23.98 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2846, allocations: 80.38 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.2848, allocations: 117.8 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2848, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002677/0.2851, allocations: 129.4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2851, allocations: 8 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2852, allocations: 8.156 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2852, allocations: 4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2853, allocations: 19.92 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2853, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.2854, allocations: 15.91 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2854, allocations: 4 kB / 1.058 GB, free: 2.344 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 0.0001055/0.2855, allocations: 121.7 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2855, allocations: 11.89 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2856, allocations: 16.38 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2856, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2856, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2856, allocations: 0 / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.2861, allocations: 438.5 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2861, allocations: 0 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.2862, allocations: 7.984 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2862, allocations: 0 / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2862, allocations: 8 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2862, allocations: 0 / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2862, allocations: 3.938 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.2866, allocations: 251.4 kB / 1.058 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.996e-05/0.2866, allocations: 85.02 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.2867, allocations: 3.938 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2868, allocations: 7.984 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2868, allocations: 19.92 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2868, allocations: 4 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.2869, allocations: 94.14 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2869, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000316/0.2872, allocations: 43.98 kB / 1.059 GB, free: 1.152 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.0008824/0.2881, allocations: 0.8502 MB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.2884, allocations: 88.02 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2884, allocations: 4.25 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2885, allocations: 51.92 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2888, allocations: 15.92 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2905, allocations: 1.601 MB / 1.061 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2908, allocations: 0.6926 MB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.2909, allocations: 4 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.2909, allocations: 31.42 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.2909, allocations: 0 / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.5588, allocations: 2.752 MB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.5591, allocations: 277.5 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.502, allocations: 0 / 1.065 GB, free: 10.71 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches