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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9307/0.9307, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.042/2.042, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8793 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.384e-05, allocations: 8.781 kB / 0.8793 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001033/0.001047, allocations: 0.5483 MB / 0.8799 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.001357, allocations: 157.5 kB / 0.88 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.001388, allocations: 1.031 kB / 0.88 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.001404, allocations: 4.812 kB / 0.88 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.001583, allocations: 5.75 kB / 0.88 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.187e-05/0.001635, allocations: 32.94 kB / 0.8801 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.00169, allocations: 25.56 kB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.00173, allocations: 7.969 kB / 0.8801 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.00176, allocations: 16.58 kB / 0.8801 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.002014, allocations: 334.5 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.002027, allocations: 0 / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.002076, allocations: 19.98 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.002092, allocations: 7.906 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.002105, allocations: 4 kB / 0.8805 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.165e-05/0.002187, allocations: 47.75 kB / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002188, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002189, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002192, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 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.0002314/0.002424, allocations: 376.4 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.002455, allocations: 12.03 kB / 0.8809 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.002483, allocations: 8.891 kB / 0.8809 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.002813, allocations: 120.5 kB / 0.881 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.002824, allocations: 4.375 kB / 0.881 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.00283, allocations: 1.312 kB / 0.881 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.002899, allocations: 54.17 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.002906, allocations: 1.219 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.002913, allocations: 4.125 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.002918, allocations: 4 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.002937, allocations: 13.11 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.003178, allocations: 252.4 kB / 0.8813 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.003214, allocations: 27.05 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.003227, allocations: 16.81 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.003233, allocations: 0 / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.003254, allocations: 37.33 kB / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.003254, allocations: 1 kB / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.00011/0.003364, allocations: 46.31 kB / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.003402, allocations: 51.41 kB / 0.8815 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.003496, allocations: 190.4 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.003505, allocations: 29.69 kB / 0.8817 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.003552, allocations: 144.3 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.003557, allocations: 3.938 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.00359, allocations: 35.3 kB / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.003718, allocations: 0.4884 MB / 0.8824 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.003731, allocations: 8.578 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.003743, allocations: 9.312 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.003773, allocations: 19.67 kB / 0.8824 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.003776, allocations: 0 / 0.8824 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.635e-05/0.003852, allocations: 61.61 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.003864, allocations: 4.625 kB / 0.8825 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.003868, allocations: 0 / 0.8825 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.003878, allocations: 4.719 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.781e-05/0.003896, allocations: 0 / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.003901, allocations: 5.156 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.00392, allocations: 11.95 kB / 0.8825 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.003926, allocations: 0 / 0.8825 GB, free: 2.691 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 (cmp1,cmp2,cmp3,cmp4,cmp5,cmpAll) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.00399, allocations: 153.9 kB / 0.8826 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.004006, allocations: 7.938 kB / 0.8826 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.004025, allocations: 15.45 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004027, allocations: 3.438 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.004029, allocations: 192 / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004031, allocations: 0 / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.004223, allocations: 400.9 kB / 0.883 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004224, allocations: 0 / 0.883 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.004226, allocations: 0 / 0.883 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004228, allocations: 3.938 kB / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-06/0.004231, allocations: 0 / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004232, allocations: 0 / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.004233, allocations: 1.031 kB / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.715e-05/0.00428, allocations: 72.38 kB / 0.8831 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-06/0.004289, allocations: 12.12 kB / 0.8831 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.004296, allocations: 4 kB / 0.8831 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.004302, allocations: 3.938 kB / 0.8831 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.004316, allocations: 0 / 0.8831 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.004319, allocations: 4 kB / 0.8831 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.004365, allocations: 142 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004365, allocations: 0 / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000135/0.0045, allocations: 19.92 kB / 0.8833 GB, free: 1.805 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 () * Number of clocked 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 (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.0001945/0.004694, allocations: 116.6 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.004759, allocations: 31.61 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.71e-07/0.00476, allocations: 0 / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.004767, allocations: 11.69 kB / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.004869, allocations: 15.94 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.005026, allocations: 118.3 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.005053, allocations: 59.34 kB / 0.8836 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.005073, allocations: 8.125 kB / 0.8836 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.005105, allocations: 74.27 kB / 0.8837 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.005105, allocations: 0 / 0.8837 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of Templates: time 0.001922/0.007027, allocations: 0.6747 MB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.242759728804231]