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.001485/0.001485, allocations: 108 kB / 15.61 MB, free: 152 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.001385/0.001385, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 63.88 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2644, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002444/0.2669, allocations: 1.48 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.2675, allocations: 440.8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.2676, allocations: 4 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.2676, allocations: 7.922 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.2677, allocations: 11.86 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2678, allocations: 23.92 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.2679, allocations: 59.78 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.268, allocations: 8 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.2681, allocations: 27.91 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.2681, allocations: 19.92 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2682, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.2682, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.2682, allocations: 11.92 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2683, allocations: 23.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.2683, allocations: 56.03 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2684, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2684, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2684, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 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.0004551/0.2688, allocations: 406.7 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2689, allocations: 8.031 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.2689, allocations: 38.67 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.2689, allocations: 4.938 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2691, allocations: 168.3 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2691, allocations: 8.375 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2691, allocations: 4.375 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2693, allocations: 61.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.2693, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2693, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2693, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2694, allocations: 39.91 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.2698, allocations: 284.8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.2699, allocations: 34.56 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.27, allocations: 32.92 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.27, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.2702, allocations: 79.23 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2702, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003181/0.2705, allocations: 105.6 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2705, allocations: 51.41 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.2706, allocations: 113.8 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2707, allocations: 33.7 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.2707, allocations: 92.03 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2707, allocations: 15.89 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.2708, allocations: 21.66 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2709, allocations: 318.8 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.271, allocations: 19.98 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.2711, allocations: 52.59 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2712, allocations: 68.22 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2712, allocations: 4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001866/0.2714, allocations: 89.5 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2714, allocations: 13.44 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2714, allocations: 4 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.2714, allocations: 0 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.2715, allocations: 12 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2715, allocations: 3.984 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.2716, allocations: 8.156 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2716, allocations: 4 kB / 1.068 GB, free: 9.617 MB / 0.8262 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 8.51e-05/0.2717, allocations: 125.7 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.2717, allocations: 7.906 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.2717, allocations: 11.95 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2718, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2721, allocations: 346.5 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2722, allocations: 320 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.2722, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2722, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2722, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2722, allocations: 3.938 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2722, allocations: 3.984 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2725, allocations: 187.5 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.2725, allocations: 85.02 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2726, allocations: 0 / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.2726, allocations: 7.938 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2727, allocations: 7.984 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2727, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.2727, allocations: 91.27 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2728, allocations: 4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002136/0.273, allocations: 12 kB / 1.069 GB, free: 8.633 MB / 0.8262 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.0005361/0.2735, allocations: 0.7209 MB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.2737, allocations: 63.83 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2737, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.2738, allocations: 23.98 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.274, allocations: 11.94 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2754, allocations: 1.392 MB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2757, allocations: 0.6846 MB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.2757, allocations: 4 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2758, allocations: 20.17 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2758, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8854/1.161, allocations: 1.588 MB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.8, allocations: 7.797 kB / 1.074 GB, free: 4.094 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/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) Reference file matches