Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.464/2.464, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.89 kB / 1.107 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7432, allocations: 168.7 MB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002114/0.7453, allocations: 1.524 MB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.7463, allocations: 0.7629 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.7464, allocations: 0.875 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.7464, allocations: 4.641 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.7464, allocations: 11.94 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.7469, allocations: 124.2 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.747, allocations: 75.8 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.747, allocations: 15.33 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.7471, allocations: 29.94 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.7472, allocations: 35.09 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.7472, allocations: 6.781 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.7474, allocations: 107.7 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.7474, allocations: 18.78 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.7474, allocations: 28.16 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.7476, allocations: 148.6 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7476, allocations: 4 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7476, allocations: 0.7188 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7476, allocations: 0 / 1.274 GB, free: 5.922 MB / 0.9981 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.0004392/0.7481, allocations: 448.1 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7481, allocations: 10 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.7481, allocations: 34.11 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.7481, allocations: 12.86 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.7482, allocations: 178.1 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7482, allocations: 7.031 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.7482, allocations: 8.062 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.7484, allocations: 73.22 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7484, allocations: 3.938 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7484, allocations: 5.094 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7484, allocations: 1.094 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.7486, allocations: 35.53 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.7489, allocations: 302.5 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.749, allocations: 43.98 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.7491, allocations: 33.81 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.7491, allocations: 4.781 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.7493, allocations: 86.33 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7493, allocations: 0 / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003696/0.7497, allocations: 144.1 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.7497, allocations: 52.84 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.7498, allocations: 125.5 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.7498, allocations: 30.95 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.7498, allocations: 101.9 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.7498, allocations: 18.25 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.7498, allocations: 32.39 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.7499, allocations: 323.5 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.75, allocations: 21.11 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.75, allocations: 60.94 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.7502, allocations: 90.59 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7502, allocations: 0 / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.7504, allocations: 117 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.7504, allocations: 7.5 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7504, allocations: 1.688 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7504, allocations: 2.688 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.7505, allocations: 15.97 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7505, allocations: 2.625 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.7505, allocations: 6.562 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7505, allocations: 8.688 kB / 1.277 GB, free: 3.812 MB / 0.9981 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 5.357e-05/0.7506, allocations: 124 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.7506, allocations: 12.08 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.7506, allocations: 7.109 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7506, allocations: 1.094 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7506, allocations: 1.922 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7506, allocations: 8.922 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.751, allocations: 391 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.751, allocations: 10.59 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.751, allocations: 3.922 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7511, allocations: 0.75 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7511, allocations: 6.969 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.7511, allocations: 4.562 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7511, allocations: 3.938 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.7513, allocations: 212.4 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.7513, allocations: 86.91 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7513, allocations: 6.859 kB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.7514, allocations: 6.75 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.7515, allocations: 8.047 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.7515, allocations: 1.625 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.7515, allocations: 97.3 kB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7515, allocations: 1.125 kB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002851/0.7518, allocations: 33.67 kB / 1.277 GB, free: 2.945 MB / 0.9981 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.0005781/0.7524, allocations: 0.8203 MB / 1.278 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.7526, allocations: 72.34 kB / 1.278 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7526, allocations: 0 / 1.278 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.7527, allocations: 32.3 kB / 1.278 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.7529, allocations: 15.88 kB / 1.278 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.7542, allocations: 1.53 MB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.7544, allocations: 0.6915 MB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.7544, allocations: 6.266 kB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.7545, allocations: 20.94 kB / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.7545, allocations: 0 / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.7777, allocations: 2.737 MB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.71, allocations: 9.594 kB / 1.283 GB, free: 15.58 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 12.961094308000611]