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.005877/0.005877, allocations: 103.8 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.001595/0.001595, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.404/2.404, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.41 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2858, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00304/0.2889, allocations: 1.466 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.2899, allocations: 444.4 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.29, allocations: 3.938 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.29, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.2901, allocations: 15.86 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2903, allocations: 31.91 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2905, allocations: 51.8 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2906, allocations: 12.03 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2907, allocations: 23.86 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.2908, allocations: 19.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2908, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.2909, allocations: 8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.2909, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.291, allocations: 23.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2911, allocations: 58.48 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2911, allocations: 0 / 1.09 GB, free: 15.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005434/0.2917, allocations: 411.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.2917, allocations: 8.031 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2918, allocations: 38.75 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2918, allocations: 0.9375 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.292, allocations: 176.2 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.292, allocations: 8.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.292, allocations: 384 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2922, allocations: 61.73 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2922, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2922, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2923, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2924, allocations: 31.97 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.2929, allocations: 276.9 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.293, allocations: 42.5 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.2931, allocations: 24.94 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2931, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.2933, allocations: 75.36 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.2933, allocations: 3.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003807/0.2937, allocations: 109.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2938, allocations: 55.34 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.2939, allocations: 121.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2939, allocations: 25.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.294, allocations: 88.05 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.294, allocations: 12.27 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.294, allocations: 21.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2942, allocations: 322.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.2943, allocations: 12.25 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.2944, allocations: 56.2 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.2945, allocations: 76.22 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2946, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002145/0.2948, allocations: 89.45 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2948, allocations: 8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2948, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2948, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.295, allocations: 16.14 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.295, allocations: 8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.295, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2951, allocations: 7.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 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 0.0001172/0.2952, allocations: 129.6 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2952, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.2952, allocations: 7.969 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2952, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2953, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2953, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.2958, allocations: 338.4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2958, allocations: 3.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.2958, allocations: 7.984 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2958, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2958, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2958, allocations: 3.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2959, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.2961, allocations: 187.5 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.2962, allocations: 84.95 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.2962, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2963, allocations: 12.05 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2964, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2964, allocations: 7.984 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.599e-05/0.2965, allocations: 99.16 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2965, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002565/0.2968, allocations: 12 kB / 1.093 GB, free: 12.43 MB / 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: 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.0007257/0.2975, allocations: 0.7209 MB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.2978, allocations: 51.91 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2978, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2979, allocations: 27.98 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2982, allocations: 20.94 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3001, allocations: 1.401 MB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3005, allocations: 0.6846 MB / 1.095 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.3005, allocations: 4 kB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.3006, allocations: 11.44 kB / 1.095 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.3006, allocations: 0 / 1.095 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.3189, allocations: 1.627 MB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.848, allocations: 19.94 kB / 1.097 GB, free: 7.859 MB / 0.8575 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