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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 108 kB / 15.6 MB, free: 132 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.002142/0.002142, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 73.53 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2403, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002448/0.2428, allocations: 1.487 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.244, allocations: 0.7495 MB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.244, allocations: 4 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2441, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.2441, allocations: 7.875 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.2446, allocations: 131.5 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.2447, allocations: 71.83 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.2448, allocations: 16.17 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.2449, allocations: 35.8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.2449, allocations: 35.89 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.245, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2451, allocations: 95.91 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.2452, allocations: 15.92 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.2452, allocations: 35.8 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2454, allocations: 147.8 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2455, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2455, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2455, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 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.0005382/0.246, allocations: 434.7 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2461, allocations: 12.03 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.2461, allocations: 34.75 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.2461, allocations: 8.844 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2463, allocations: 180.2 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2463, allocations: 12.38 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2463, allocations: 12.36 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.2465, allocations: 73.52 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2465, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2465, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2465, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2467, allocations: 39.97 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.2471, allocations: 300.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2472, allocations: 50.56 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.2473, allocations: 40.91 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2474, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.2476, allocations: 83.36 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2476, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003769/0.2479, allocations: 145.6 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.248, allocations: 55.41 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.2481, allocations: 135.5 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2481, allocations: 25.7 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2482, allocations: 100.1 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.2482, allocations: 15.8 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.2483, allocations: 25.72 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2484, allocations: 326.7 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.2485, allocations: 19.98 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.2486, allocations: 65.14 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2487, allocations: 85.06 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2487, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.249, allocations: 117.4 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.249, allocations: 8 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.249, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.249, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.2491, allocations: 15.92 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2491, allocations: 4 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.2492, allocations: 12.06 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2492, allocations: 15.92 kB / 1.069 GB, free: 8.723 MB / 0.8262 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.888e-05/0.2493, allocations: 117.8 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.2493, allocations: 7.906 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.2493, allocations: 12.31 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2493, allocations: 4 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.2498, allocations: 386.8 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2498, allocations: 3.984 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.2498, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2499, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2499, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2499, allocations: 7.953 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2499, allocations: 11.92 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2502, allocations: 219.4 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.2502, allocations: 85.05 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2502, allocations: 4 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.2503, allocations: 3.938 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2504, allocations: 7.984 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2504, allocations: 8 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.2505, allocations: 92.14 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2505, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002656/0.2507, allocations: 43.98 kB / 1.07 GB, free: 7.621 MB / 0.8262 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.0007567/0.2515, allocations: 0.8097 MB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.2517, allocations: 79.89 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2517, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/0.2518, allocations: 35.92 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.2521, allocations: 19.92 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2536, allocations: 1.501 MB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.2538, allocations: 0.6922 MB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.2539, allocations: 11.98 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.2539, allocations: 19.44 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2539, allocations: 0 / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.16/1.414, allocations: 2.701 MB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.3, allocations: 2.156 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB (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) 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) "" 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