Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_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.00759/0.00759, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.002118/0.002118, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 58.56 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.273, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002693/0.2757, allocations: 1.481 MB / 1.243 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.2765, allocations: 440.4 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.2765, allocations: 0 / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2766, allocations: 7.922 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.2766, allocations: 11.86 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2768, allocations: 31.92 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2769, allocations: 47.84 kB / 1.243 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.277, allocations: 11.94 kB / 1.243 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.2771, allocations: 23.91 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.2772, allocations: 27.84 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2772, allocations: 4 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.2772, allocations: 4 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.2773, allocations: 8 kB / 1.243 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.2773, allocations: 27.86 kB / 1.243 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2774, allocations: 48.03 kB / 1.244 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2774, allocations: 3.938 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2774, allocations: 0 / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.2775, allocations: 0 / 1.244 GB, free: 7.117 MB / 0.9669 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.0005476/0.278, allocations: 414.7 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2781, allocations: 8.031 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2781, allocations: 34.75 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.2781, allocations: 12.89 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2783, allocations: 172.3 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2783, allocations: 8.375 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2783, allocations: 384 / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2785, allocations: 65.78 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2785, allocations: 3.938 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2785, allocations: 0 / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2786, allocations: 4 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2787, allocations: 31.97 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.2791, allocations: 272.9 kB / 1.245 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2793, allocations: 42.55 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.2794, allocations: 32.92 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2794, allocations: 3.938 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.2796, allocations: 67.39 kB / 1.245 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.2796, allocations: 0 / 1.245 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003728/0.28, allocations: 109.6 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.2801, allocations: 59.39 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2802, allocations: 129.7 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2802, allocations: 25.7 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2803, allocations: 88.09 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.2803, allocations: 11.95 kB / 1.245 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2803, allocations: 21.7 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2805, allocations: 322.8 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.2806, allocations: 11.98 kB / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.2807, allocations: 52.28 kB / 1.245 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2808, allocations: 72.2 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2808, allocations: 0 / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002105/0.2811, allocations: 93.5 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2811, allocations: 8 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2811, allocations: 3.938 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2811, allocations: 0 / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.2812, allocations: 11.98 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2812, allocations: 4.156 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.2813, allocations: 11.94 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2813, allocations: 0 / 1.246 GB, free: 4.676 MB / 0.9669 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.000114/0.2814, allocations: 121.7 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.2814, allocations: 11.94 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2815, allocations: 7.969 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2815, allocations: 0 / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2815, allocations: 4 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2815, allocations: 0 / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.2819, allocations: 342.8 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.282, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.282, allocations: 11.92 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.282, allocations: 0 / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.282, allocations: 4 kB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2821, allocations: 3.938 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2821, allocations: 0 / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.2823, allocations: 187.5 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.2824, allocations: 77.11 kB / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2824, allocations: 0 / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.2825, allocations: 12.3 kB / 1.246 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2826, allocations: 8 kB / 1.246 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2826, allocations: 0 / 1.246 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.2826, allocations: 95.2 kB / 1.246 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2827, allocations: 4 kB / 1.246 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002473/0.2829, allocations: 8 kB / 1.246 GB, free: 3.691 MB / 0.9669 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.0006063/0.2835, allocations: 0.7241 MB / 1.247 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.2837, allocations: 55.91 kB / 1.247 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2838, allocations: 0 / 1.247 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.2839, allocations: 23.98 kB / 1.247 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2841, allocations: 15.92 kB / 1.247 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2857, allocations: 1.395 MB / 1.249 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2861, allocations: 0.6924 MB / 1.249 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.2861, allocations: 4 kB / 1.249 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.2861, allocations: 19.44 kB / 1.249 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.2861, allocations: 0 / 1.249 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.3079, allocations: 1.643 MB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.971, allocations: 9 kB / 1.251 GB, free: 15.11 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_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