Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.005144/0.005144, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001094/0.001094, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2807, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002943/0.2837, allocations: 1.482 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2852, allocations: 0.74 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.2852, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.2853, allocations: 3.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.2854, allocations: 15.84 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.286, allocations: 119.6 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2862, allocations: 75.7 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2863, allocations: 16.19 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2864, allocations: 35.89 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.2865, allocations: 35.84 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.2866, allocations: 4 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.2868, allocations: 99.84 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2869, allocations: 19.92 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.2869, allocations: 31.84 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.2872, allocations: 150.4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2873, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2873, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2873, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 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.000771/0.2881, allocations: 455.4 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2881, allocations: 8.031 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2882, allocations: 30.75 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.2882, allocations: 4.938 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2884, allocations: 180.1 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2884, allocations: 12.38 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2884, allocations: 8.359 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2887, allocations: 69.59 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2887, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2887, allocations: 11.92 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2887, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2889, allocations: 31.98 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.2895, allocations: 316.7 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2897, allocations: 46.56 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2898, allocations: 32.97 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2898, allocations: 3.938 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.2901, allocations: 87.34 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.2901, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004655/0.2906, allocations: 145.5 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2907, allocations: 59.41 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2908, allocations: 125.7 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2908, allocations: 25.7 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.2909, allocations: 100.1 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2909, allocations: 19.84 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.291, allocations: 25.7 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2911, allocations: 322.8 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.2912, allocations: 23.98 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.2913, allocations: 65.08 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2915, allocations: 89.06 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2915, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.2917, allocations: 113.4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2918, allocations: 8 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2918, allocations: 0 / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2918, allocations: 4 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.2919, allocations: 15.92 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2919, allocations: 4 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.292, allocations: 15.84 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.292, allocations: 8.094 kB / 1.171 GB, free: 1.77 MB / 0.92 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 0.0001112/0.2921, allocations: 121.8 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.2922, allocations: 7.906 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.2922, allocations: 8.375 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2922, allocations: 4 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2922, allocations: 0 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2922, allocations: 0 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.2927, allocations: 390.4 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2927, allocations: 4 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.2928, allocations: 3.984 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2928, allocations: 4 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2928, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2928, allocations: 3.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2928, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.2932, allocations: 223.3 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2932, allocations: 85.05 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2932, allocations: 4 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.2933, allocations: 3.938 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.2934, allocations: 11.98 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2934, allocations: 7.938 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.2935, allocations: 91.27 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2935, allocations: 0 / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003278/0.2938, allocations: 43.98 kB / 1.172 GB, free: 0.6719 MB / 0.92 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.0009614/0.2948, allocations: 0.8159 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.2951, allocations: 79.86 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2951, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2952, allocations: 35.98 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2955, allocations: 18.55 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.2973, allocations: 1.515 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2976, allocations: 0.6923 MB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2976, allocations: 4 kB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.2977, allocations: 23.42 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.2977, allocations: 0 / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.3165, allocations: 2.739 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.138, allocations: 15.09 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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