Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.992/1.992, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 179.6 kB / 490.8 MB, free: 1.973 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.3 MB / 0.7863 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.000954, allocations: 88.67 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.773e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/1.017, allocations: 149 MB / 1.357 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.017, allocations: 68.08 kB / 1.357 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.004235/1.021, allocations: 1.777 MB / 1.359 GB, free: 17.15 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.021, allocations: 3.938 kB / 1.359 GB, free: 17.15 MB / 0.823 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.0002909/1.021, allocations: 328.9 kB / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.022, allocations: 12.72 kB / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/1.022, allocations: 6.219 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.022, allocations: 174.9 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.022, allocations: 1.062 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/1.022, allocations: 2.312 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.64e-05/1.022, allocations: 18.2 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.245e-05/1.022, allocations: 48.58 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/1.022, allocations: 1.609 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/1.022, allocations: 3.984 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.022, allocations: 1.031 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/1.022, allocations: 0.6224 MB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/1.022, allocations: 22.67 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/1.022, allocations: 10.92 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/1.023, allocations: 0.6562 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/1.023, allocations: 31.53 kB / 1.36 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.023, allocations: 0 / 1.36 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/1.023, allocations: 39.91 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/1.023, allocations: 52.97 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.023, allocations: 119 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/1.023, allocations: 29.55 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/1.023, allocations: 92.77 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/1.023, allocations: 5.031 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.023, allocations: 0 / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.023, allocations: 318.9 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/1.023, allocations: 8.016 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/1.023, allocations: 9.047 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/1.023, allocations: 20.95 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.023, allocations: 0.6562 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001903/1.023, allocations: 79.17 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.023, allocations: 5.859 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.023, allocations: 0 / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.023, allocations: 1.5 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/1.024, allocations: 7.219 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/1.024, allocations: 0 / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/1.024, allocations: 1.781 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/1.024, allocations: 2.969 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/1.024, allocations: 102.5 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/1.024, allocations: 10.42 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/1.024, allocations: 13.86 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.024, allocations: 1.656 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.024, allocations: 3.938 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.024, allocations: 0 / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/1.024, allocations: 337.5 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.024, allocations: 8.641 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-06/1.024, allocations: 0 / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.024, allocations: 1.125 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/1.024, allocations: 4.031 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.024, allocations: 0.7031 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.024, allocations: 4.906 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.981e-05/1.024, allocations: 61.94 kB / 1.361 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/1.024, allocations: 82.55 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/1.024, allocations: 1.719 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/1.024, allocations: 3.906 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/1.024, allocations: 7.422 kB / 1.361 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.024, allocations: 4.531 kB / 1.361 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.462e-05/1.024, allocations: 98.81 kB / 1.362 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001969/1.024, allocations: 14.36 kB / 1.362 GB, free: 30.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/1.025, allocations: 122.9 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/1.025, allocations: 25.17 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.025, allocations: 1.062 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-06/1.025, allocations: 2.062 kB / 1.362 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/1.025, allocations: 7.922 kB / 1.362 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/1.025, allocations: 66.78 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/1.025, allocations: 0.6967 MB / 1.362 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.025, allocations: 3.938 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.002787/1.028, allocations: 0.6379 MB / 1.363 GB, free: 29.39 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches