Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001951/0.001951, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 72.3 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2883, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002706/0.291, allocations: 1.53 MB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.2917, allocations: 458.8 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.2918, allocations: 0 / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.2918, allocations: 3.984 kB / 1.019 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.2919, allocations: 11.86 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2921, allocations: 15.98 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.2922, allocations: 47.8 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2923, allocations: 19.98 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.2924, allocations: 19.92 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.2924, allocations: 27.91 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2925, allocations: 4 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.2925, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2925, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2926, allocations: 23.86 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.2926, allocations: 32.23 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2926, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2927, allocations: 3.938 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2927, allocations: 4 kB / 1.02 GB, free: 8.789 MB / 0.795 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.0005405/0.2932, allocations: 406.8 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2932, allocations: 8.922 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.2933, allocations: 8.844 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2934, allocations: 180.2 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2935, allocations: 384 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2935, allocations: 4.375 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2937, allocations: 61.98 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2937, allocations: 4 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2937, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2937, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2938, allocations: 39.91 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.2943, allocations: 280.8 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2944, allocations: 42.56 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.2945, allocations: 24.94 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2945, allocations: 0 / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.2947, allocations: 79.31 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2947, allocations: 0 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003662/0.2951, allocations: 113.5 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.2952, allocations: 55.41 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2953, allocations: 117.8 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2953, allocations: 29.7 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.2954, allocations: 84.14 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2954, allocations: 15.8 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.2955, allocations: 21.72 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2956, allocations: 326.8 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.2957, allocations: 19.92 kB / 1.021 GB, free: 6.676 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.2958, allocations: 48.28 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.296, allocations: 68.22 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.296, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002049/0.2962, allocations: 89.7 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2962, allocations: 15.98 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2962, allocations: 0 / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2963, allocations: 0 / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.2964, allocations: 8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2964, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.2964, allocations: 11.89 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2965, allocations: 8 kB / 1.022 GB, free: 6.395 MB / 0.795 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.000111/0.2966, allocations: 114.9 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2966, allocations: 15.94 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2966, allocations: 3.969 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2966, allocations: 3.938 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2966, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2967, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.2971, allocations: 354.3 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2971, allocations: 3.984 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.2972, allocations: 4 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2972, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2972, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2972, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2972, allocations: 8.562 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2975, allocations: 183.5 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.2976, allocations: 81.02 kB / 1.022 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2976, allocations: 11.98 kB / 1.022 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.2977, allocations: 7.938 kB / 1.022 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.2977, allocations: 11.92 kB / 1.022 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2977, allocations: 0 / 1.022 GB, free: 5.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.2978, allocations: 87.28 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2978, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002415/0.2981, allocations: 8 kB / 1.023 GB, free: 5.406 MB / 0.795 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.0001517/0.2982, allocations: 107.8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.2985, allocations: 55.91 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2985, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2986, allocations: 31.91 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2988, allocations: 8 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.2993, allocations: 189.9 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.2997, allocations: 0.6846 MB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.2997, allocations: 15.42 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.2997, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of Templates: time 0.002269/0.302, allocations: 0.7579 MB / 1.024 GB, free: 3.504 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches