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.0041/0.0041, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001109/0.001109, allocations: 195.8 kB / 16.68 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.471/2.471, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2749, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002578/0.2775, allocations: 1.51 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2787, allocations: 0.744 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.2788, allocations: 4 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.2788, allocations: 3.938 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.2789, allocations: 19.84 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2794, allocations: 119.6 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2795, allocations: 75.77 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.2796, allocations: 8.188 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.2797, allocations: 43.84 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.2798, allocations: 35.83 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2798, allocations: 8 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.28, allocations: 91.91 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.28, allocations: 15.92 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.2801, allocations: 31.86 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2803, allocations: 143.8 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2803, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2803, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2803, allocations: 0 / 1.169 GB, free: 4.434 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.0005983/0.2809, allocations: 462.3 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.281, allocations: 8.031 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.281, allocations: 38.75 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.2811, allocations: 8.891 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2812, allocations: 172.3 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2812, allocations: 4.359 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2812, allocations: 8.375 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2814, allocations: 73.53 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2815, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2815, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2815, allocations: 7.938 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2816, allocations: 39.97 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2821, allocations: 304.7 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.2823, allocations: 58.5 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.2824, allocations: 32.97 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2824, allocations: 8.047 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.2826, allocations: 75.36 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.2826, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004253/0.2831, allocations: 149.6 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2831, allocations: 55.34 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2832, allocations: 125.8 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.2833, allocations: 33.69 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.2833, allocations: 88.14 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.2834, allocations: 15.89 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.2834, allocations: 29.7 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2836, allocations: 326.8 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.2836, allocations: 23.98 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.2837, allocations: 61.08 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2839, allocations: 93.06 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2839, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002361/0.2842, allocations: 121.4 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2842, allocations: 4.156 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2842, allocations: 8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2842, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.2843, allocations: 19.92 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2843, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2844, allocations: 8 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2844, allocations: 7.938 kB / 1.171 GB, free: 1.727 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 9.562e-05/0.2845, allocations: 125.7 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.2845, allocations: 7.938 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.2846, allocations: 16.38 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2846, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2846, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2846, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.2851, allocations: 382.8 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2851, allocations: 0 / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.2852, allocations: 7.984 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2852, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2852, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2852, allocations: 7.875 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2852, allocations: 4 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2855, allocations: 215.5 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.2856, allocations: 92.98 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2856, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.2857, allocations: 7.938 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2858, allocations: 15.98 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2858, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.2858, allocations: 98.02 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.994e-06/0.2858, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002888/0.2861, allocations: 43.86 kB / 1.172 GB, free: 0.6211 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.0008714/0.287, allocations: 0.8057 MB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2873, allocations: 75.89 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2873, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2874, allocations: 40.23 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2877, allocations: 20.08 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2893, allocations: 1.532 MB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2896, allocations: 0.6907 MB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.2897, allocations: 8 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.2897, allocations: 23.42 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2897, allocations: 0 / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.299, allocations: 2.734 MB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.48, allocations: 12.88 kB / 1.178 GB, free: 10.7 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=400 --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