Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.005952/0.005952, allocations: 102 kB / 15.73 MB, free: 6.051 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.00119/0.00119, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.325/1.325, 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 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8527, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002646/0.8554, allocations: 1.502 MB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.8569, allocations: 0.737 MB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.857, allocations: 5.156 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.857, allocations: 5.062 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.8571, allocations: 13.81 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.8578, allocations: 122.1 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.858, allocations: 75.48 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.8581, allocations: 16.17 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.8582, allocations: 38.5 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.8583, allocations: 35 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.8583, allocations: 5.969 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.8585, allocations: 98.27 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.8586, allocations: 15.16 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.8586, allocations: 36.33 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.859, allocations: 143.8 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.859, allocations: 1.062 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.859, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.859, allocations: 4 kB / 1.09 GB, free: 3.434 MB / 0.8575 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.0007183/0.8597, allocations: 447.7 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.8598, allocations: 14.33 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.8598, allocations: 32.05 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.8599, allocations: 9.75 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.86, allocations: 176.6 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.86, allocations: 7.25 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.86, allocations: 5.203 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.8603, allocations: 74.94 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8603, allocations: 0 / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8603, allocations: 13.23 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.8603, allocations: 1.812 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.8605, allocations: 35.83 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.861, allocations: 303.1 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.8612, allocations: 53.69 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.8613, allocations: 33.39 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.8613, allocations: 5.656 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.8616, allocations: 78.38 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.8616, allocations: 0 / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004997/0.8621, allocations: 141.9 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.8621, allocations: 59.11 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.8623, allocations: 125.7 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.8623, allocations: 27.52 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.8624, allocations: 93.14 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.8624, allocations: 27.53 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.8625, allocations: 24.55 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8626, allocations: 327.5 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.8627, allocations: 25.31 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.8629, allocations: 55.47 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.8631, allocations: 90.66 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8631, allocations: 0.9375 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003092/0.8634, allocations: 116.2 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.8635, allocations: 14.12 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.8635, allocations: 2.219 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.8635, allocations: 5.875 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.8636, allocations: 17.02 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.8637, allocations: 2.344 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.8637, allocations: 12.72 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.8638, allocations: 8.922 kB / 1.093 GB, free: 1.309 MB / 0.8575 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 0.0001239/0.8639, allocations: 116.2 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.8639, allocations: 8.203 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.864, allocations: 10.7 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.864, allocations: 0.7812 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.864, allocations: 1.766 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.864, allocations: 0 / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.8647, allocations: 389.2 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8647, allocations: 0.7969 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.8647, allocations: 5.75 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8647, allocations: 4 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.8648, allocations: 2.281 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8648, allocations: 5.484 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8648, allocations: 0.6562 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.8652, allocations: 222.9 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.8653, allocations: 88.5 kB / 1.093 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.8653, allocations: 1.672 kB / 1.093 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.8654, allocations: 12 kB / 1.093 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.8655, allocations: 9.125 kB / 1.093 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.8655, allocations: 4.266 kB / 1.093 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.8656, allocations: 98.17 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8656, allocations: 0 / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004529/0.8661, allocations: 37.77 kB / 1.094 GB, free: 472 kB / 0.8575 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.001188/0.8673, allocations: 0.813 MB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.8676, allocations: 69.25 kB / 1.094 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8676, allocations: 4 kB / 1.094 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.8677, allocations: 38.33 kB / 1.094 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.8681, allocations: 22.64 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.8704, allocations: 1.517 MB / 1.096 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.8708, allocations: 0.6983 MB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.8709, allocations: 4.938 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.8709, allocations: 21.11 kB / 1.097 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8709, allocations: 0 / 1.097 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.8929, allocations: 2.737 MB / 1.099 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/8.407, allocations: 6.938 kB / 1.099 GB, free: 13.14 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_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