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.448/2.448, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001603/0.001603, allocations: 166.9 kB / 498.1 MB, free: 5.75 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.616/1.616, allocations: 223.2 MB / 0.7948 GB, free: 18.02 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.0009266/0.0009262, allocations: 95.95 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 9.156 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.559, allocations: 149 MB / 1.368 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5593, allocations: 71.97 kB / 1.369 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004384/0.5637, allocations: 2.115 MB / 1.371 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.189e-05/0.5638, allocations: 0 / 1.371 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5638, allocations: 0 / 1.371 GB, free: 10.91 MB / 0.8698 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.0003792/0.5642, allocations: 351.8 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.5643, allocations: 12.03 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.5643, allocations: 34.56 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.5644, allocations: 3.906 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.5645, allocations: 174.9 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5645, allocations: 3.938 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.5646, allocations: 7.984 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5647, allocations: 49.62 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5647, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5647, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5648, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.5648, allocations: 15.98 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.5652, allocations: 272.9 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.5653, allocations: 22.56 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.5653, allocations: 0 / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5653, allocations: 34.5 kB / 1.372 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.5653, allocations: 4.062 kB / 1.372 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001624/0.5655, allocations: 41.56 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5656, allocations: 51.41 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5657, allocations: 127.5 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5657, allocations: 29.7 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.5658, allocations: 88.05 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.5658, allocations: 4 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.5658, allocations: 0 / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5659, allocations: 323 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.566, allocations: 8 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.566, allocations: 15.92 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.566, allocations: 8 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.566, allocations: 0 / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001387/0.5662, allocations: 65.59 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5662, allocations: 5.25 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5662, allocations: 0 / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5662, allocations: 0 / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.859e-05/0.5663, allocations: 7.938 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5663, allocations: 11.94 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.5663, allocations: 0 / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.5663, allocations: 0 / 1.372 GB, free: 8.953 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.5664, allocations: 117.8 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.5665, allocations: 3.906 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.5665, allocations: 7.531 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5665, allocations: 3.938 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5665, allocations: 0 / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5665, allocations: 3.953 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.5669, allocations: 358.8 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5669, allocations: 192 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-06/0.5669, allocations: 8 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5669, allocations: 4 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5669, allocations: 0 / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5669, allocations: 3.953 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.567, allocations: 0 / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.567, allocations: 69 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5671, allocations: 85.09 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.5671, allocations: 4 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.5671, allocations: 3.984 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.5672, allocations: 3.953 kB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5672, allocations: 0 / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.023e-05/0.5673, allocations: 107.2 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5673, allocations: 0 / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002036/0.5675, allocations: 12 kB / 1.373 GB, free: 8.062 MB / 0.8698 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 (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.0005566/0.5681, allocations: 0.6259 MB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.5682, allocations: 24.02 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5682, allocations: 0 / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-06/0.5682, allocations: 7.938 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.5683, allocations: 7.953 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.5687, allocations: 153.1 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.569, allocations: 0.6965 MB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.569, allocations: 12.12 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.5691, allocations: 15.42 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.5691, allocations: 0 / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.583, allocations: 1.335 MB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.5833, allocations: 221.5 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.257, allocations: 0 / 1.376 GB, free: 4.988 MB / 0.8698 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