Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.005053/0.005053, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001362/0.001362, allocations: 194 kB / 16.68 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.446/2.446, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 64.11 kB / 1.083 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6147, allocations: 162.3 MB / 1.242 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.0023/0.617, allocations: 1.494 MB / 1.243 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.6181, allocations: 0.7419 MB / 1.244 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.6182, allocations: 0 / 1.244 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.6182, allocations: 3.938 kB / 1.244 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.6183, allocations: 11.81 kB / 1.244 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.6187, allocations: 127.6 kB / 1.244 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.6189, allocations: 75.77 kB / 1.244 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.6189, allocations: 16.16 kB / 1.244 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.619, allocations: 31.86 kB / 1.244 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.6191, allocations: 39.83 kB / 1.244 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.6191, allocations: 11.98 kB / 1.244 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.6193, allocations: 87.92 kB / 1.244 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.6193, allocations: 31.84 kB / 1.244 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.6194, allocations: 35.8 kB / 1.244 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.6196, allocations: 139.2 kB / 1.245 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6196, allocations: 0 / 1.245 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6196, allocations: 0 / 1.245 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6196, allocations: 0 / 1.245 GB, free: 14.35 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.0005454/0.6202, allocations: 450.4 kB / 1.245 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.6202, allocations: 8.031 kB / 1.245 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.6203, allocations: 38.73 kB / 1.245 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.6203, allocations: 8.891 kB / 1.245 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.6204, allocations: 176.3 kB / 1.245 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.6204, allocations: 12.3 kB / 1.245 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.6204, allocations: 4.375 kB / 1.245 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.6206, allocations: 77.58 kB / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6206, allocations: 4 kB / 1.245 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6207, allocations: 0 / 1.245 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.6207, allocations: 0 / 1.245 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.6208, allocations: 43.97 kB / 1.245 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.6212, allocations: 300.8 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.6214, allocations: 50.48 kB / 1.246 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.6215, allocations: 32.97 kB / 1.246 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.6215, allocations: 4 kB / 1.246 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.6217, allocations: 79.38 kB / 1.246 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.6217, allocations: 0 / 1.246 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003801/0.6221, allocations: 149.6 kB / 1.246 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.6221, allocations: 59.39 kB / 1.246 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.6222, allocations: 117.8 kB / 1.246 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6222, allocations: 33.7 kB / 1.246 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.6223, allocations: 96.06 kB / 1.246 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.6223, allocations: 19.84 kB / 1.246 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.6224, allocations: 29.7 kB / 1.246 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6225, allocations: 322.8 kB / 1.247 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.6226, allocations: 23.98 kB / 1.247 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.6227, allocations: 61.14 kB / 1.247 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.6228, allocations: 97 kB / 1.247 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6228, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.6231, allocations: 113.5 kB / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6231, allocations: 5.562 kB / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6231, allocations: 0 / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6231, allocations: 4 kB / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.6232, allocations: 11.98 kB / 1.247 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6232, allocations: 8.156 kB / 1.247 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.6233, allocations: 11.89 kB / 1.247 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6233, allocations: 7.938 kB / 1.247 GB, free: 11.66 MB / 0.9669 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 8.487e-05/0.6234, allocations: 122.3 kB / 1.247 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.6234, allocations: 8 kB / 1.247 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.6234, allocations: 16.34 kB / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6234, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6234, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6234, allocations: 4 kB / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.6239, allocations: 390.4 kB / 1.247 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6239, allocations: 3.938 kB / 1.247 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.624, allocations: 7.984 kB / 1.247 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.624, allocations: 0 / 1.247 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.624, allocations: 4 kB / 1.247 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.624, allocations: 3.938 kB / 1.247 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.624, allocations: 3.938 kB / 1.247 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.6243, allocations: 211.5 kB / 1.248 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.6243, allocations: 85.06 kB / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6244, allocations: 11.98 kB / 1.248 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.6244, allocations: 7.938 kB / 1.248 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.6245, allocations: 3.984 kB / 1.248 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6245, allocations: 4 kB / 1.248 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.6246, allocations: 98.77 kB / 1.248 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6246, allocations: 8 kB / 1.248 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002621/0.6248, allocations: 31.94 kB / 1.248 GB, free: 10.55 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: 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.0007603/0.6256, allocations: 0.8201 MB / 1.249 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.6258, allocations: 63.91 kB / 1.249 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6258, allocations: 0 / 1.249 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6259, allocations: 47.91 kB / 1.249 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.6262, allocations: 11.88 kB / 1.249 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.6277, allocations: 1.525 MB / 1.25 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6279, allocations: 0.6885 MB / 1.251 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.628, allocations: 4 kB / 1.251 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.628, allocations: 23.42 kB / 1.251 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.628, allocations: 8 kB / 1.251 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7869/1.415, allocations: 2.74 MB / 1.254 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.57, allocations: 16.11 kB / 1.254 GB, free: 4.648 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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