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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001079/0.001079, allocations: 186.9 kB / 0.4902 GB, free: 2.219 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.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009512/0.000951, allocations: 106.8 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 6.812 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.414, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/0.6979, allocations: 149.8 MB / 1.376 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.6984, allocations: 71.95 kB / 1.376 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006234/0.7046, allocations: 2.116 MB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.037e-06/0.7047, allocations: 0 / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.7047, allocations: 4 kB / 1.378 GB, free: 1.434 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.0004611/0.7052, allocations: 339.3 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.421e-05/0.7053, allocations: 12.03 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.7054, allocations: 34.5 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.7054, allocations: 11.89 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.7056, allocations: 167 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7056, allocations: 8 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7057, allocations: 4 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.7059, allocations: 49.67 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7059, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7059, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7059, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/0.706, allocations: 15.98 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.7065, allocations: 284.8 kB / 1.379 GB, free: 384 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.7066, allocations: 24.3 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.7066, allocations: 0 / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.7067, allocations: 34.62 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.7067, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002334/0.7069, allocations: 41.59 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.707, allocations: 59.39 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.7072, allocations: 123.1 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7072, allocations: 25.7 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.7073, allocations: 100.1 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.7073, allocations: 8 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.7073, allocations: 0 / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7075, allocations: 310.8 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.7075, allocations: 15.98 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.7076, allocations: 12 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.7076, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7076, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001614/0.7078, allocations: 65.59 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7078, allocations: 11.98 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.7079, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7079, allocations: 3.938 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.7079, allocations: 4 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.7079, allocations: 3.953 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.708, allocations: 4 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.708, allocations: 4 kB / 1.379 GB, free: 15.47 MB / 0.8855 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.655e-05/0.7081, allocations: 109.6 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.7082, allocations: 4 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.7082, allocations: 15.52 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7082, allocations: 3.938 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7082, allocations: 0 / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7083, allocations: 3.953 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.7087, allocations: 362.6 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7087, allocations: 4 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.7087, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7087, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.7087, allocations: 32 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.7088, allocations: 7.953 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7088, allocations: 3.938 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.7089, allocations: 57.14 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.709, allocations: 89 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.709, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.709, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.7091, allocations: 7.938 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.7091, allocations: 8.219 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7092, allocations: 99.27 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7092, allocations: 3.938 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003264/0.7095, allocations: 20 kB / 1.38 GB, free: 14.59 MB / 0.8855 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.0007739/0.7103, allocations: 0.6203 MB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.7105, allocations: 19.98 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7105, allocations: 3.938 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.7105, allocations: 4 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.7107, allocations: 7.859 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.7112, allocations: 148.7 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.7116, allocations: 0.6887 MB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.7117, allocations: 11.94 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.7117, allocations: 11.44 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of SimCode: time 2.064e-06/0.7117, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.729, allocations: 1.355 MB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000386/0.7295, allocations: 230 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.705, allocations: 0 / 1.383 GB, free: 11.52 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat does not exist to compare? outputFormat=mat