Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_11_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.005091/0.005091, allocations: 99.86 kB / 15.73 MB, free: 6.016 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.001496/0.001496, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6276, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002625/0.6303, allocations: 1.464 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.631, allocations: 450.9 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.6311, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.6311, allocations: 7.938 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.6312, allocations: 15.91 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.6314, allocations: 23.92 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.6315, allocations: 51.83 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.6316, allocations: 8 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.6317, allocations: 27.8 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.6318, allocations: 19.92 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.6318, allocations: 8 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.6318, allocations: 4 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.6318, allocations: 7.984 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.6319, allocations: 27.86 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.632, allocations: 46.48 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.632, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.632, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.632, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 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.0005392/0.6326, allocations: 411.7 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6326, allocations: 16.03 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.6327, allocations: 34.73 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.6327, allocations: 8.891 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6328, allocations: 168.3 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.6329, allocations: 8.312 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.6329, allocations: 384 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.6331, allocations: 65.78 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.6331, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6331, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6331, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.6333, allocations: 31.97 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.6337, allocations: 276.8 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6338, allocations: 38.5 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.6339, allocations: 32.92 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.634, allocations: 4 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6341, allocations: 67.39 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.6342, allocations: 3.938 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0003821/0.6345, allocations: 113.5 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.6346, allocations: 59.41 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.6347, allocations: 117.8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6347, allocations: 29.64 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.6348, allocations: 92.09 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.6348, allocations: 7.953 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.6349, allocations: 25.69 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.635, allocations: 322.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.6351, allocations: 15.98 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.269e-05/0.6352, allocations: 48.28 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.6354, allocations: 72.2 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6354, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002071/0.6356, allocations: 89.5 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6356, allocations: 8 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6356, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6356, allocations: 8.156 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.6357, allocations: 7.984 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6357, allocations: 7.938 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.6358, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6358, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 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 9.399e-05/0.6359, allocations: 124.9 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.6359, allocations: 7.953 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.636, allocations: 11.95 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.636, allocations: 7.984 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.636, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.636, allocations: 0 / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.6364, allocations: 338.5 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6365, allocations: 384 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.6365, allocations: 4 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6365, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.6365, allocations: 7.984 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6365, allocations: 8.188 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6366, allocations: 8 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.6368, allocations: 183.5 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.6369, allocations: 81.05 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.6369, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.637, allocations: 11.92 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.6371, allocations: 12 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.6371, allocations: 0 / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.6371, allocations: 95.2 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6372, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002478/0.6374, allocations: 11.95 kB / 1.225 GB, free: 12.41 MB / 0.9512 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.0005845/0.638, allocations: 0.7125 MB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.6382, allocations: 55.89 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6382, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.6383, allocations: 31.92 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.6386, allocations: 10.31 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.6402, allocations: 1.405 MB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6405, allocations: 0.6846 MB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.6405, allocations: 3.984 kB / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.6406, allocations: 15.44 kB / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.6406, allocations: 0 / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.6622, allocations: 1.628 MB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.327, allocations: 10.23 kB / 1.23 GB, free: 7.848 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_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