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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 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.001743/0.001744, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.426/2.426, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.72 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2525, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.00247/0.255, allocations: 1.491 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2561, allocations: 0.752 MB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.2562, allocations: 8 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.2562, allocations: 11.86 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.2563, allocations: 7.875 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.2568, allocations: 123.6 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.2569, allocations: 71.77 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.257, allocations: 16.12 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.2571, allocations: 35.91 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.2572, allocations: 39.83 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.2572, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2574, allocations: 99.84 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.2574, allocations: 15.98 kB / 1.056 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.2575, allocations: 31.8 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2577, allocations: 135.9 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2577, allocations: 0 / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2577, allocations: 4 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2577, allocations: 0 / 1.056 GB, free: 5.395 MB / 0.8106 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.0005075/0.2582, allocations: 446.7 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2583, allocations: 12.62 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.2583, allocations: 30.75 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.2584, allocations: 8.844 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.2585, allocations: 176.2 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2585, allocations: 12.36 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2585, allocations: 8.312 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2587, allocations: 73.59 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2587, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2587, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2587, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2589, allocations: 35.97 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.2593, allocations: 308.6 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2594, allocations: 58.5 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.2595, allocations: 32.97 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2595, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.2597, allocations: 83.36 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2597, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003781/0.2601, allocations: 149.5 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2602, allocations: 59.41 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2603, allocations: 117.8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2603, allocations: 33.69 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.2603, allocations: 92.08 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2604, allocations: 19.75 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2604, allocations: 25.7 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.2605, allocations: 326.8 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.2606, allocations: 23.98 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.2607, allocations: 57.14 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2608, allocations: 89.06 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2608, allocations: 7.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002043/0.261, allocations: 109.6 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2611, allocations: 12.03 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2611, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2611, allocations: 8 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.2612, allocations: 15.98 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2612, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.2612, allocations: 7.953 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2613, allocations: 11.92 kB / 1.058 GB, free: 2.703 MB / 0.8106 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 7.851e-05/0.2614, allocations: 124 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.2614, allocations: 11.98 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.2614, allocations: 8.375 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2614, allocations: 7.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2614, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2614, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.2618, allocations: 386.4 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2619, allocations: 0 / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.2619, allocations: 11.92 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2619, allocations: 8 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2619, allocations: 0 / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2619, allocations: 3.938 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2619, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2622, allocations: 219.8 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.2623, allocations: 81.09 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2623, allocations: 4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.2624, allocations: 11.94 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.2624, allocations: 7.984 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2624, allocations: 4 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.2625, allocations: 94.64 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.2625, allocations: 0 / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002764/0.2628, allocations: 43.89 kB / 1.059 GB, free: 1.602 MB / 0.8106 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.0006788/0.2635, allocations: 0.8038 MB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.2637, allocations: 76.14 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2637, allocations: 4.062 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.2638, allocations: 39.92 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2641, allocations: 23.86 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2654, allocations: 1.5 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2656, allocations: 0.6922 MB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.2657, allocations: 8.078 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.2657, allocations: 23.42 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2657, allocations: 0 / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.815/2.081, allocations: 2.702 MB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/9.747, allocations: 6.172 kB / 1.065 GB, free: 11.75 MB / 0.8262 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=50 --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