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.001369/0.001369, allocations: 110.5 kB / 16.46 MB, free: 6.504 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.001336/0.001336, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.979/2.979, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.002061/0.002061, allocations: 72.03 kB / 1.104 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7456, allocations: 168.7 MB / 1.269 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003202/0.7488, allocations: 1.499 MB / 1.27 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.7505, allocations: 0.7493 MB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.7505, allocations: 0 / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.7505, allocations: 3.938 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.7506, allocations: 15.86 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.7511, allocations: 131.5 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.7513, allocations: 71.78 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.7514, allocations: 12.17 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.7515, allocations: 31.91 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.7515, allocations: 39.78 kB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.7515, allocations: 4 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.7518, allocations: 103.9 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.7518, allocations: 15.92 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.7518, allocations: 35.84 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.7521, allocations: 149.3 kB / 1.272 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.7521, allocations: 3.984 kB / 1.272 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7521, allocations: 0 / 1.272 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.7521, allocations: 0 / 1.272 GB, free: 2.469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007835/0.7529, allocations: 446.4 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.753, allocations: 8.031 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.753, allocations: 38.73 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.7531, allocations: 8.891 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.7532, allocations: 176.3 kB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.7533, allocations: 4.375 kB / 1.272 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.7533, allocations: 8.375 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.7535, allocations: 81.5 kB / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7535, allocations: 0 / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7535, allocations: 0 / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7535, allocations: 0 / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.7537, allocations: 43.97 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.7542, allocations: 304.7 kB / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.7544, allocations: 50.53 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.7545, allocations: 32.91 kB / 1.273 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.7545, allocations: 4 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.7547, allocations: 83.31 kB / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.7547, allocations: 0 / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.7552, allocations: 141.7 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.7553, allocations: 63.38 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.7554, allocations: 124.9 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.7554, allocations: 33.7 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.7555, allocations: 92.08 kB / 1.273 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.7555, allocations: 23.78 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.7555, allocations: 33.7 kB / 1.273 GB, free: 488 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.7557, allocations: 326.8 kB / 1.274 GB, free: 152 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.7558, allocations: 19.98 kB / 1.274 GB, free: 132 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.7559, allocations: 57.14 kB / 1.274 GB, free: 56 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.7561, allocations: 89.06 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7561, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000236/0.7563, allocations: 121.5 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7563, allocations: 4 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7564, allocations: 4 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7564, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.7565, allocations: 19.92 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7565, allocations: 0 / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.7565, allocations: 4 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.7565, allocations: 7.938 kB / 1.274 GB, free: 15.79 MB / 0.9825 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.0001786/0.7567, allocations: 126.9 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.7567, allocations: 7.953 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.7568, allocations: 12.36 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7568, allocations: 3.938 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7568, allocations: 4 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7568, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.7573, allocations: 390.4 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7573, allocations: 4 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.7573, allocations: 4 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.7574, allocations: 3.984 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.7574, allocations: 4 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.7574, allocations: 3.938 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7574, allocations: 3.938 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.7577, allocations: 211.4 kB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.7578, allocations: 89.06 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.7578, allocations: 7.984 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.7579, allocations: 7.938 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.7579, allocations: 3.984 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.7579, allocations: 4 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.758, allocations: 95.27 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.758, allocations: 3.938 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000306/0.7583, allocations: 35.94 kB / 1.275 GB, free: 14.68 MB / 0.9825 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.0009641/0.7593, allocations: 0.8154 MB / 1.276 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.7595, allocations: 71.89 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7595, allocations: 0 / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.7596, allocations: 35.97 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.7599, allocations: 11.94 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.7617, allocations: 1.53 MB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.762, allocations: 0.6885 MB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.762, allocations: 4 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.7621, allocations: 27.36 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7621, allocations: 0 / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.7882, allocations: 2.772 MB / 1.281 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/9.025, allocations: 6.047 kB / 1.281 GB, free: 8.73 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.203064881265163]