Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.008475/0.008475, allocations: 98.41 kB / 15.73 MB, free: 6.016 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.001633/0.001633, allocations: 194.3 kB / 16.67 MB, free: 5.949 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.83 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2871, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002828/0.29, allocations: 1.475 MB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.2907, allocations: 455.2 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2908, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.2908, allocations: 3.938 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.2909, allocations: 3.938 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.2911, allocations: 27.89 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2912, allocations: 51.8 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2913, allocations: 11.98 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.2914, allocations: 31.86 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.2915, allocations: 19.92 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.2915, allocations: 7.984 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.2916, allocations: 4 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.2916, allocations: 4 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.2916, allocations: 27.86 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2918, allocations: 52.03 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2918, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2918, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2918, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005294/0.2923, allocations: 410.7 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2924, allocations: 8.625 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.2924, allocations: 34.75 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.2924, allocations: 4.844 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2926, allocations: 172.4 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2926, allocations: 4.375 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.2926, allocations: 4.375 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2928, allocations: 61.73 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2928, allocations: 4 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2928, allocations: 4 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2928, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.2929, allocations: 31.97 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.2934, allocations: 288.7 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2935, allocations: 46.5 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.2936, allocations: 28.92 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2936, allocations: 0 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.2938, allocations: 71.38 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2938, allocations: 0 / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003423/0.2942, allocations: 113.6 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2942, allocations: 51.41 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.2943, allocations: 121.7 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2944, allocations: 29.7 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.2944, allocations: 84.14 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2944, allocations: 11.89 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2945, allocations: 21.72 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2946, allocations: 326.8 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.2947, allocations: 12 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.2947, allocations: 48.27 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2949, allocations: 72.22 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2949, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001904/0.2951, allocations: 89.45 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2951, allocations: 12.16 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2951, allocations: 0 / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2951, allocations: 3.984 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.2952, allocations: 12 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2953, allocations: 3.938 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.2953, allocations: 4.25 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2953, allocations: 7.984 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.769e-05/0.2954, allocations: 121.7 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2954, allocations: 11.91 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.2955, allocations: 12.34 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2955, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2955, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2955, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2959, allocations: 350.4 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2959, allocations: 0 / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.296, allocations: 7.984 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.296, allocations: 0 / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.296, allocations: 4 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.296, allocations: 3.938 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.296, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.2962, allocations: 183.4 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.2963, allocations: 81.11 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2963, allocations: 0 / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.2964, allocations: 15.92 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.2965, allocations: 7.938 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2965, allocations: 7.922 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.2965, allocations: 87.28 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2965, allocations: 0 / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002507/0.2968, allocations: 12 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000483/0.2973, allocations: 0.7241 MB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.2975, allocations: 51.91 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2975, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.2976, allocations: 32.41 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2978, allocations: 17.61 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2991, allocations: 1.397 MB / 1.214 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.2994, allocations: 0.6961 MB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.2994, allocations: 0 / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.2995, allocations: 19.89 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2995, allocations: 0 / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.3162, allocations: 1.641 MB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.946, allocations: 0 / 1.217 GB, free: 8 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.H,bli.HSet,bli.blindState,bli.occ,bli.samplePeriod,occ.startTime,occ.startValue,occ.y,time