Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001241/0.001241, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 191 kB / 16.66 MB, free: 6.59 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.59/2.59, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 63.89 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2729, allocations: 162.3 MB / 1.242 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002257/0.2752, allocations: 1.493 MB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2763, allocations: 0.7245 MB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.2764, allocations: 0 / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.2764, allocations: 7.875 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.2765, allocations: 19.86 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.2769, allocations: 115.6 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.277, allocations: 63.84 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.517e-05/0.2771, allocations: 15.98 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.2772, allocations: 35.84 kB / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.2773, allocations: 39.83 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2773, allocations: 8 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2775, allocations: 95.84 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.2775, allocations: 15.92 kB / 1.244 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.2776, allocations: 31.86 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2778, allocations: 135.6 kB / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2778, allocations: 0 / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2778, allocations: 0 / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2778, allocations: 3.938 kB / 1.245 GB, free: 7.059 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.0005338/0.2783, allocations: 450.4 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2784, allocations: 8.031 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2784, allocations: 42.73 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2785, allocations: 4.891 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2786, allocations: 176.2 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2786, allocations: 4.375 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2786, allocations: 8.375 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2788, allocations: 77.75 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2788, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2788, allocations: 4 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2788, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.279, allocations: 35.97 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.2794, allocations: 292.8 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.2795, allocations: 58.48 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.2796, allocations: 32.97 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2796, allocations: 4 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.2798, allocations: 71.38 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2798, allocations: 0 / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003677/0.2802, allocations: 145.6 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2802, allocations: 55.41 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2804, allocations: 125.8 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2804, allocations: 25.7 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.2804, allocations: 96.09 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.2805, allocations: 11.89 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.2805, allocations: 25.72 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2807, allocations: 326.8 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.2807, allocations: 19.98 kB / 1.247 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.2808, allocations: 65.08 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.281, allocations: 101 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.281, allocations: 0 / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002151/0.2812, allocations: 113.5 kB / 1.247 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2813, allocations: 8 kB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2813, allocations: 0 / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2813, allocations: 4.156 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.2814, allocations: 15.98 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2814, allocations: 320 / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.2814, allocations: 7.938 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2815, allocations: 11.98 kB / 1.247 GB, free: 4.398 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.pDown,$PRE.bli.pDown,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.191e-05/0.2816, allocations: 127.6 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2816, allocations: 7.953 kB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.2816, allocations: 8.375 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2816, allocations: 7.938 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2816, allocations: 0 / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2816, allocations: 4 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.2821, allocations: 382.4 kB / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2821, allocations: 0 / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.2821, allocations: 7.984 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2821, allocations: 0 / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2822, allocations: 4 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2822, allocations: 3.938 kB / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2822, allocations: 4 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2825, allocations: 211.5 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2825, allocations: 85.06 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2825, allocations: 0 / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.2826, allocations: 11.92 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.2827, allocations: 0 / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2827, allocations: 11.98 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.2827, allocations: 91.22 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2827, allocations: 3.938 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002696/0.283, allocations: 43.86 kB / 1.248 GB, free: 3.305 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.pDown,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.000756/0.2838, allocations: 0.8052 MB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.284, allocations: 67.91 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.284, allocations: 0 / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.2841, allocations: 35.92 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2844, allocations: 20.23 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2858, allocations: 1.509 MB / 1.25 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.2861, allocations: 0.6885 MB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.2861, allocations: 4 kB / 1.251 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.2862, allocations: 19.44 kB / 1.251 GB, free: 4 kB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2862, allocations: 0 / 1.251 GB, free: 4 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/1.773, allocations: 2.632 MB / 1.253 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.99, allocations: 6.688 kB / 1.253 GB, free: 14.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time