Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007561/0.0007561, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007533/0.0007533, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8421/0.8421, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.648/1.648, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.423e-05, allocations: 9.312 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00293/0.002954, allocations: 1.486 MB / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.004056, allocations: 494.8 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.004126, allocations: 3.938 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.004157, allocations: 3.938 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.004204, allocations: 3.938 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.004447, allocations: 35.83 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.004558, allocations: 63.72 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.004646, allocations: 0 / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.004778, allocations: 43.89 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.004828, allocations: 19.92 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.004842, allocations: 4 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.816e-05/0.004881, allocations: 7.938 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.004898, allocations: 15.97 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.004928, allocations: 15.92 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.005043, allocations: 51.86 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.005047, allocations: 0 / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.495e-06/0.00505, allocations: 4 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005054, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 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.0004235/0.005477, allocations: 337.6 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.005517, allocations: 8.031 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.005547, allocations: 38.75 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.005649, allocations: 16.92 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.005841, allocations: 129.5 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.005861, allocations: 8.375 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.005869, allocations: 384 / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005984, allocations: 62.23 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005991, allocations: 192 / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.006, allocations: 4.125 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006005, allocations: 7.938 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.006074, allocations: 35.97 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.006363, allocations: 247.9 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.006432, allocations: 38.5 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.006475, allocations: 24.94 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.006493, allocations: 0 / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.705e-05/0.00659, allocations: 71.38 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.006591, allocations: 0 / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.000229/0.00682, allocations: 117.5 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.006851, allocations: 55.41 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.006911, allocations: 109.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006922, allocations: 33.7 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.00696, allocations: 88.12 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.006973, allocations: 15.81 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.007001, allocations: 21.72 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.007067, allocations: 322.8 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.0071, allocations: 15.98 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.007144, allocations: 48.28 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.007277, allocations: 68.22 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.00728, allocations: 7.938 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.911e-05/0.007379, allocations: 89.53 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.00739, allocations: 4 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007395, allocations: 4 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.007405, allocations: 0 / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.007458, allocations: 15.88 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007463, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.007491, allocations: 20.09 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007498, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 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.862e-05/0.007556, allocations: 121.7 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.007563, allocations: 4 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.007581, allocations: 4.125 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.007582, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007586, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.007589, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.007822, allocations: 317.8 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.007825, allocations: 11.98 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.007841, allocations: 4 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007843, allocations: 0 / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007849, allocations: 3.938 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007852, allocations: 4 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007852, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.007982, allocations: 183.4 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.007988, allocations: 7.953 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.008001, allocations: 7.984 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.008036, allocations: 8 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.008071, allocations: 7.984 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008075, allocations: 0 / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.008108, allocations: 91.27 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008108, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001517/0.00826, allocations: 15.94 kB / 0.9859 GB, free: 13.25 MB / 0.948 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.0002962/0.008556, allocations: 0.713 MB / 0.9865 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.008725, allocations: 63.89 kB / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008726, allocations: 0 / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.00878, allocations: 27.92 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.008957, allocations: 3.984 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.009897, allocations: 1.41 MB / 0.988 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.009939, allocations: 71.58 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.009962, allocations: 4 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.009999, allocations: 16.5 kB / 0.9881 GB, free: 10.78 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.009999, allocations: 0 / 0.9881 GB, free: 10.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.02281, allocations: 2.333 MB / 0.9904 GB, free: 8.625 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/6.536, allocations: 7.969 kB / 0.9904 GB, free: 8.617 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.H in file Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.434110372327268]