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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009267/0.0009269, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008013/0.008013, allocations: 170 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 11.73 kB / 0.9029 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001425/0.2799, allocations: 1.19 MB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.2805, allocations: 442.9 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.2806, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.2806, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.2806, allocations: 11.88 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.2808, allocations: 27.97 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.2809, allocations: 51.78 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.281, allocations: 8 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.2811, allocations: 15.92 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.2812, allocations: 23.91 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2812, allocations: 0 / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2812, allocations: 7.938 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.2813, allocations: 11.92 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.2813, allocations: 49.58 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.158e-05/0.2814, allocations: 44.03 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2814, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2814, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2814, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 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.00047/0.2819, allocations: 402.8 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.282, allocations: 8.031 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.282, allocations: 38.73 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.282, allocations: 12.84 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2822, allocations: 168.4 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2822, allocations: 384 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2822, allocations: 4.375 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.2824, allocations: 73.77 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2824, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2824, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2824, allocations: 7.938 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2825, allocations: 43.97 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.2829, allocations: 280.8 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2831, allocations: 46.56 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.2832, allocations: 36.92 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2832, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.2834, allocations: 75.33 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 3.396e-06/0.2834, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003528/0.2837, allocations: 129.5 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2838, allocations: 55.41 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.2839, allocations: 117.8 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2839, allocations: 30.02 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2839, allocations: 88.14 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.284, allocations: 7.906 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.284, allocations: 17.72 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2841, allocations: 326.7 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.2842, allocations: 19.98 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.2843, allocations: 48.28 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2844, allocations: 84.22 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2844, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001982/0.2846, allocations: 101.4 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2846, allocations: 5.875 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2846, allocations: 4 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2847, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.2847, allocations: 8.156 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2847, allocations: 7.984 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.2848, allocations: 12.25 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2848, allocations: 4 kB / 1.063 GB, free: 456 kB / 0.8106 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 7.425e-05/0.2849, allocations: 125.7 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.2849, allocations: 3.906 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.2849, allocations: 7.969 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2849, allocations: 7.984 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.285, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.285, allocations: 4 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.2853, allocations: 350.5 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2854, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.2854, allocations: 7.938 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2854, allocations: 4 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2854, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2854, allocations: 3.938 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2854, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2857, allocations: 203.4 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2857, allocations: 81.02 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2857, allocations: 3.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.2858, allocations: 11.94 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2859, allocations: 7.984 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2859, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.2859, allocations: 95.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2859, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002193/0.2861, allocations: 12 kB / 1.064 GB, free: 15.43 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.0004847/0.2866, allocations: 0.7242 MB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2868, allocations: 63.89 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2868, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.2869, allocations: 36.48 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2872, allocations: 3.938 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2885, allocations: 1.429 MB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2887, allocations: 0.6848 MB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.2887, allocations: 3.984 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.2888, allocations: 15.44 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2888, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/0.8724, allocations: 1.369 MB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.8727, allocations: 237.9 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.728, allocations: 2.531 kB / 1.068 GB, free: 10.86 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches