Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.0007989/0.0007991, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005044/0.005044, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.349/1.349, 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.762/2.762, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 7.438 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 159.6 MB / 1.059 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001512/0.2804, allocations: 1.225 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2816, allocations: 0.7323 MB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.2816, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.2816, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.2817, allocations: 23.84 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.2821, allocations: 99.77 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.2822, allocations: 63.84 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.2823, allocations: 12.19 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.2824, allocations: 35.78 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.2825, allocations: 35.83 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2825, allocations: 4 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2827, allocations: 91.91 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.2827, allocations: 7.984 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.2828, allocations: 65.44 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.283, allocations: 131.9 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.283, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.283, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.283, allocations: 0 / 1.061 GB, free: 2.277 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004755/0.2835, allocations: 442.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2835, allocations: 8.031 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.2836, allocations: 34.73 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.2836, allocations: 8.844 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2837, allocations: 176.2 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2837, allocations: 4.375 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2838, allocations: 8.375 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2839, allocations: 81.52 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.284, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.284, allocations: 8 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.284, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2841, allocations: 43.97 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2846, allocations: 296.8 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2847, allocations: 58.48 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.2848, allocations: 36.97 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2848, allocations: 3.938 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.285, allocations: 87.44 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.285, allocations: 3.938 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003875/0.2854, allocations: 149.5 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.2854, allocations: 63.33 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.2855, allocations: 129 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2856, allocations: 25.7 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.2856, allocations: 104 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2856, allocations: 11.81 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2857, allocations: 21.7 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2858, allocations: 318.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.2858, allocations: 31.98 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.2859, allocations: 65.12 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.2861, allocations: 89.08 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2861, allocations: 0 / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.2863, allocations: 121.5 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2864, allocations: 8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2864, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2864, allocations: 7.984 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.2865, allocations: 15.94 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2865, allocations: 4 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.2866, allocations: 7.984 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2866, allocations: 12.06 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.68e-05/0.2867, allocations: 129.8 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.2867, allocations: 3.906 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.2867, allocations: 12.38 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2867, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2867, allocations: 3.984 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2867, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.2872, allocations: 394.5 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2872, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.2872, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2872, allocations: 11.88 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2872, allocations: 3.984 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2873, allocations: 4.328 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2873, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2875, allocations: 227.4 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.2876, allocations: 85.02 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2876, allocations: 0 / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2877, allocations: 15.92 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2877, allocations: 4 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2878, allocations: 11.98 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.2878, allocations: 99.2 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2878, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002803/0.2881, allocations: 36 kB / 1.065 GB, free: 14.43 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006885/0.2888, allocations: 0.8105 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.289, allocations: 80.02 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.289, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2891, allocations: 39.92 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2894, allocations: 15.92 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2908, allocations: 1.554 MB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.291, allocations: 0.6965 MB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.291, allocations: 4.078 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.2911, allocations: 23.42 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2911, allocations: 3.938 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.388/1.679, allocations: 2.418 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.679, allocations: 282.5 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/4.529, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time