Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 128 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.001822/0.001822, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.398/2.398, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6231, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002983/0.6261, allocations: 1.447 MB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.6269, allocations: 460.2 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.627, allocations: 1.281 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.627, allocations: 7.938 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.6271, allocations: 9.234 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.6273, allocations: 24.19 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.6275, allocations: 45.23 kB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.6276, allocations: 16.94 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.6277, allocations: 25.27 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.6278, allocations: 34.41 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.6278, allocations: 7.281 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.6278, allocations: 3.75 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.6278, allocations: 6.5 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.6279, allocations: 22.52 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.628, allocations: 50.34 kB / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.628, allocations: 0 / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.628, allocations: 0 / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.628, allocations: 0 / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004699/0.6285, allocations: 406 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6285, allocations: 13.47 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.6286, allocations: 35.94 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.6286, allocations: 11.28 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6287, allocations: 171.3 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.6288, allocations: 2.094 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.6288, allocations: 7.766 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.629, allocations: 64.86 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.629, allocations: 1.125 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.629, allocations: 0 / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.629, allocations: 4.938 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.6291, allocations: 35.59 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.6295, allocations: 276.1 kB / 0.9528 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.6296, allocations: 40.53 kB / 0.9528 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.6297, allocations: 30.12 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.6298, allocations: 0 / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.6299, allocations: 67.98 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.63, allocations: 0 / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003346/0.6303, allocations: 109.3 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.6303, allocations: 64.86 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.6304, allocations: 114.5 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.6304, allocations: 29.7 kB / 0.9532 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.6305, allocations: 91 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.6305, allocations: 13.22 kB / 0.9533 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.6305, allocations: 23.58 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.6306, allocations: 320.7 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.6306, allocations: 21.89 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.6307, allocations: 43.88 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.6308, allocations: 72.89 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6308, allocations: 0 / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.631, allocations: 89.67 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.631, allocations: 6.688 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.631, allocations: 1.844 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.631, allocations: 5.5 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.6311, allocations: 15.14 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6311, allocations: 5.391 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.6312, allocations: 3.938 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6312, allocations: 7.906 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 5.726e-05/0.6313, allocations: 124.5 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.6313, allocations: 10.69 kB / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.6313, allocations: 5.375 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6313, allocations: 5.438 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6313, allocations: 0 / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6313, allocations: 0 / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.6317, allocations: 344 kB / 0.9544 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6317, allocations: 0 / 0.9544 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.6317, allocations: 7.734 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6317, allocations: 0 / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6317, allocations: 5.156 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6318, allocations: 3.938 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6318, allocations: 1.312 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.632, allocations: 180.1 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.632, allocations: 82.36 kB / 0.9547 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.632, allocations: 5.406 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.6321, allocations: 14.89 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.6322, allocations: 6.797 kB / 0.9547 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.6322, allocations: 1.5 kB / 0.9547 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.6322, allocations: 99.89 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6322, allocations: 0 / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002307/0.6324, allocations: 8.688 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004045/0.6329, allocations: 0.7198 MB / 0.9555 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.6331, allocations: 55.88 kB / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6331, allocations: 0 / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.6332, allocations: 29.42 kB / 0.9556 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.6334, allocations: 16.2 kB / 0.9556 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6345, allocations: 1.396 MB / 0.957 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.6347, allocations: 0.6849 MB / 0.9576 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.6347, allocations: 11.67 kB / 0.9576 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.6347, allocations: 13.56 kB / 0.9576 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6348, allocations: 3.938 kB / 0.9577 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.6529, allocations: 1.59 MB / 0.9592 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/8.036, allocations: 16.31 kB / 0.9592 GB, free: 0.8867 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_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_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:time,H.y,bli.blindState,H.amplitude,H.f,H.offset