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.004159/0.004159, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001229/0.001229, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 482.4 MB / 0.7548 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.09 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002505/0.277, allocations: 1.499 MB / 1.243 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2782, allocations: 0.7299 MB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.2783, allocations: 4 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.2783, allocations: 11.86 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.2783, allocations: 11.88 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.2788, allocations: 123.6 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.279, allocations: 71.72 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.2791, allocations: 24.14 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.2791, allocations: 27.92 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.2792, allocations: 35.84 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2792, allocations: 8 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.2794, allocations: 99.84 kB / 1.244 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.2795, allocations: 19.91 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2795, allocations: 31.86 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.2798, allocations: 135.8 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2798, allocations: 7.938 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2798, allocations: 3.938 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2798, allocations: 0 / 1.244 GB, free: 6.434 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.0005896/0.2804, allocations: 451.9 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2804, allocations: 12.03 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.2805, allocations: 34.75 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2805, allocations: 8.891 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2806, allocations: 180.2 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2807, allocations: 4.375 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2807, allocations: 8.375 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2809, allocations: 81.56 kB / 1.245 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2809, allocations: 4 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2809, allocations: 4 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2811, allocations: 35.97 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2816, allocations: 300.7 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2817, allocations: 50.56 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.2818, allocations: 36.97 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2818, allocations: 0 / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.282, allocations: 83.34 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.282, allocations: 0 / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004278/0.2825, allocations: 149.6 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2825, allocations: 55.41 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2827, allocations: 136.9 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2827, allocations: 25.7 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2827, allocations: 92.14 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.2828, allocations: 19.89 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.2828, allocations: 21.72 kB / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.283, allocations: 322.8 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.283, allocations: 23.92 kB / 1.246 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2832, allocations: 65.14 kB / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.2833, allocations: 96.98 kB / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2834, allocations: 4 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.2836, allocations: 113.4 kB / 1.247 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2836, allocations: 8 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2836, allocations: 0 / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2836, allocations: 4.156 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.269e-05/0.2837, allocations: 15.98 kB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2838, allocations: 4 kB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.2838, allocations: 8 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2838, allocations: 7.938 kB / 1.247 GB, free: 3.738 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 9.762e-05/0.2839, allocations: 125.7 kB / 1.247 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.284, allocations: 11.89 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.284, allocations: 8.375 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.284, allocations: 12 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.284, allocations: 0 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.284, allocations: 0 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.2845, allocations: 386.4 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2846, allocations: 0 / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.2846, allocations: 7.984 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2846, allocations: 0 / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2846, allocations: 4 kB / 1.247 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2846, allocations: 3.938 kB / 1.247 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2846, allocations: 4 kB / 1.247 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.285, allocations: 215.4 kB / 1.247 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.285, allocations: 81.06 kB / 1.247 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.2851, allocations: 7.938 kB / 1.247 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.2852, allocations: 3.938 kB / 1.247 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.2852, allocations: 15.92 kB / 1.247 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2852, allocations: 4 kB / 1.247 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.2853, allocations: 95.27 kB / 1.247 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2853, allocations: 0 / 1.247 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002974/0.2856, allocations: 39.92 kB / 1.248 GB, free: 2.629 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.0008346/0.2865, allocations: 0.8198 MB / 1.248 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.2867, allocations: 75.88 kB / 1.248 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2867, allocations: 0 / 1.248 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2868, allocations: 35.92 kB / 1.248 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2871, allocations: 20.23 kB / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2888, allocations: 1.523 MB / 1.25 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2891, allocations: 0.6924 MB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.2892, allocations: 4 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2892, allocations: 23.42 kB / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.2892, allocations: 0 / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3113, allocations: 2.754 MB / 1.253 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.951, allocations: 13.94 kB / 1.253 GB, free: 12.71 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.p,H.amplitude,H.f