Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001089/0.001089, allocations: 180.8 kB / 487.4 MB, free: 5.07 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.673/1.673, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008791/0.0008795, allocations: 103.7 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.738e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8846/1.163, allocations: 148.3 MB / 1.351 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.163, allocations: 70.45 kB / 1.351 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004615/1.168, allocations: 2.097 MB / 1.353 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.168, allocations: 0.9062 kB / 1.353 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.168, allocations: 0 / 1.353 GB, free: 33.79 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.000223/1.168, allocations: 336 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.168, allocations: 12.33 kB / 1.353 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/1.168, allocations: 7.781 kB / 1.353 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/1.168, allocations: 175.5 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.168, allocations: 4.516 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/1.168, allocations: 2.875 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.744e-05/1.168, allocations: 16.08 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.597e-05/1.168, allocations: 41.97 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.168, allocations: 0 / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.168, allocations: 0 / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.168, allocations: 0.7031 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/1.169, allocations: 255.2 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/1.169, allocations: 19.12 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/1.169, allocations: 8.828 kB / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-06/1.169, allocations: 0 / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/1.169, allocations: 35.16 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/1.169, allocations: 0 / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/1.169, allocations: 40.48 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/1.169, allocations: 51.41 kB / 1.354 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.169, allocations: 125.4 kB / 1.354 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/1.169, allocations: 25.7 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/1.169, allocations: 96.27 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/1.169, allocations: 3.906 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/1.169, allocations: 0 / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.169, allocations: 320.6 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/1.169, allocations: 16.14 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/1.169, allocations: 4.531 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/1.169, allocations: 24.03 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.169, allocations: 0 / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001653/1.17, allocations: 72.48 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.17, allocations: 4.516 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.17, allocations: 0 / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.17, allocations: 1.312 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.189e-05/1.17, allocations: 5.156 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/1.17, allocations: 0 / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/1.17, allocations: 4.656 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/1.17, allocations: 8.844 kB / 1.355 GB, free: 32.21 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 6.879e-05/1.17, allocations: 105.6 kB / 1.355 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.02e-05/1.17, allocations: 42.56 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/1.17, allocations: 0.75 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/1.17, allocations: 8.531 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.17, allocations: 4.594 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.17, allocations: 0 / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.17, allocations: 3.953 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/1.17, allocations: 347.5 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.17, allocations: 0 / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/1.17, allocations: 1.578 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.17, allocations: 3.875 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/1.17, allocations: 0 / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.17, allocations: 4.453 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.17, allocations: 3.953 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.842e-05/1.17, allocations: 62.56 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/1.17, allocations: 84.91 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/1.17, allocations: 4.031 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/1.17, allocations: 4.656 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/1.17, allocations: 5.875 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.17, allocations: 0 / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.448e-05/1.17, allocations: 103.3 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.17, allocations: 0 / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001832/1.171, allocations: 16.48 kB / 1.355 GB, free: 31.43 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.0004786/1.171, allocations: 0.6189 MB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.062e-05/1.171, allocations: 23.38 kB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.171, allocations: 0 / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/1.171, allocations: 0 / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.549e-05/1.171, allocations: 3.938 kB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/1.172, allocations: 117.9 kB / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.172, allocations: 0.6835 MB / 1.357 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.949e-05/1.172, allocations: 13.39 kB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/1.172, allocations: 16.36 kB / 1.357 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.172, allocations: 0 / 1.357 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/1.191, allocations: 1.04 MB / 1.358 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.191, allocations: 175.9 kB / 1.358 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.813, allocations: 3.938 kB / 1.358 GB, free: 29.7 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat does not exist to compare? outputFormat=mat