Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.00754/0.00754, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.00159/0.00159, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.379/1.379, 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.303/2.303, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9423/0.9437, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002436/0.9462, allocations: 1.505 MB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.9474, allocations: 0.7464 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.9474, allocations: 1.062 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.9475, allocations: 9.141 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.9475, allocations: 10.64 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.9481, allocations: 131.3 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.9482, allocations: 96.64 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.9483, allocations: 12.7 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.9484, allocations: 38.58 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.9485, allocations: 43.58 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.9485, allocations: 7.25 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.9487, allocations: 99.7 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.9488, allocations: 29.27 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.9488, allocations: 38.34 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.9491, allocations: 160.7 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9491, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9491, allocations: 0.875 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.9491, allocations: 0 / 1.09 GB, free: 3.449 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005279/0.9497, allocations: 460.1 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.9497, allocations: 10.14 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.9497, allocations: 37.47 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.9498, allocations: 10.12 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.9499, allocations: 174.7 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.9499, allocations: 7.344 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.9499, allocations: 6.391 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9502, allocations: 93.45 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.9502, allocations: 0 / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.9502, allocations: 1.828 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9502, allocations: 9.328 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.9504, allocations: 48.81 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.9509, allocations: 320.6 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.951, allocations: 67.2 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.9512, allocations: 42.38 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.9512, allocations: 5.641 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.9514, allocations: 92.08 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.9514, allocations: 1.094 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005051/0.952, allocations: 187.1 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.952, allocations: 63.06 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.9521, allocations: 130.4 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9521, allocations: 31.3 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.9521, allocations: 89.59 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9522, allocations: 20.41 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.9522, allocations: 35.95 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.9523, allocations: 323.8 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.9524, allocations: 25.34 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.9525, allocations: 78.66 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.9527, allocations: 111.8 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9527, allocations: 0 / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002599/0.953, allocations: 134.5 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.953, allocations: 6 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.953, allocations: 1.438 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.953, allocations: 2.469 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.9531, allocations: 23 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9532, allocations: 3.875 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.9532, allocations: 17.19 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.9533, allocations: 5.781 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.523e-05/0.9533, allocations: 121.7 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.9534, allocations: 8.156 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.9534, allocations: 10.7 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9534, allocations: 6.641 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.9534, allocations: 0 / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9534, allocations: 0.7969 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.9539, allocations: 438 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9539, allocations: 480 / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.954, allocations: 9.5 kB / 1.093 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.954, allocations: 1.094 kB / 1.093 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.954, allocations: 3.766 kB / 1.093 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.954, allocations: 0 / 1.093 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.954, allocations: 12.69 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.9544, allocations: 252.5 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.9544, allocations: 87.8 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.9544, allocations: 2.734 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.9545, allocations: 4.703 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.9546, allocations: 13.91 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.9546, allocations: 8.891 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.9547, allocations: 96.69 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9547, allocations: 0 / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003511/0.955, allocations: 41.88 kB / 1.094 GB, free: 352 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008963/0.9559, allocations: 0.8493 MB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.9563, allocations: 89.31 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9563, allocations: 4 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.9564, allocations: 44.94 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.9567, allocations: 22.17 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.9587, allocations: 1.607 MB / 1.096 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.959, allocations: 0.6938 MB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.362e-05/0.9591, allocations: 6.125 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.9591, allocations: 21.17 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9591, allocations: 0.6562 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.9821, allocations: 2.993 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.574, allocations: 6.062 kB / 1.1 GB, free: 12.94 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_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_Zhang2012BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude