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.066/2.066, allocations: 390.5 MB / 398 MB, free: 11.01 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.0009657/0.0009656, allocations: 191 kB / 491.2 MB, free: 1.617 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.303/1.303, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008885/0.0008884, allocations: 95.89 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.185e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9562, allocations: 149.1 MB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.9565, allocations: 70.27 kB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003948/0.9604, allocations: 2.1 MB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9604, allocations: 0 / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.9605, allocations: 0.75 kB / 1.36 GB, free: 32.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.0002166/0.9607, allocations: 336.3 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9607, allocations: 7.906 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.9608, allocations: 8.344 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.9609, allocations: 171.9 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9609, allocations: 0.875 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.9609, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.417e-05/0.961, allocations: 22.69 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.484e-05/0.961, allocations: 46.45 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.961, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.961, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.9611, allocations: 3.781 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.9613, allocations: 255.7 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.096e-05/0.9614, allocations: 14.58 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.9614, allocations: 12.73 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.9614, allocations: 1.312 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.9614, allocations: 30.56 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.9614, allocations: 0 / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.9615, allocations: 34.94 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.9615, allocations: 61.17 kB / 1.361 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.9616, allocations: 130.5 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.9617, allocations: 25.7 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.9617, allocations: 98.09 kB / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.9617, allocations: 0 / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.9617, allocations: 0 / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.9618, allocations: 316.5 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.9618, allocations: 10.12 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.9619, allocations: 6.938 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.962, allocations: 21.55 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.962, allocations: 0 / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.9622, allocations: 73.08 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.9622, allocations: 11.69 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.9622, allocations: 0 / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.9622, allocations: 3.938 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.9622, allocations: 5.531 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.9622, allocations: 0 / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.9623, allocations: 7.859 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.9623, allocations: 3.938 kB / 1.362 GB, free: 31.2 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.46e-05/0.9624, allocations: 104.4 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.33e-05/0.9624, allocations: 42.92 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.9624, allocations: 7.938 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.9625, allocations: 5.422 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.9625, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9625, allocations: 7.766 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9625, allocations: 1.781 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.9627, allocations: 339.4 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9627, allocations: 0 / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-06/0.9627, allocations: 0 / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9627, allocations: 4.031 kB / 1.362 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.9627, allocations: 0 / 1.362 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9627, allocations: 5.547 kB / 1.362 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9627, allocations: 0 / 1.362 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.264e-05/0.9628, allocations: 57.59 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.9628, allocations: 92.22 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.9628, allocations: 3.938 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.9628, allocations: 0 / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.9629, allocations: 13.33 kB / 1.362 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.9629, allocations: 0 / 1.362 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.9629, allocations: 100.7 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9629, allocations: 0 / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001843/0.9631, allocations: 15.66 kB / 1.362 GB, free: 30.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.0003979/0.9635, allocations: 0.6172 MB / 1.363 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.975e-05/0.9636, allocations: 27.58 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9636, allocations: 0 / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.141e-06/0.9636, allocations: 0 / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.953e-05/0.9637, allocations: 8.594 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.964, allocations: 110.9 kB / 1.363 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.9642, allocations: 0.6837 MB / 1.364 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.9642, allocations: 7.969 kB / 1.364 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.9643, allocations: 16.48 kB / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9643, allocations: 0 / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.9826, allocations: 1.06 MB / 1.365 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.9829, allocations: 170.1 kB / 1.365 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.446, allocations: 0 / 1.365 GB, free: 28.7 MB / 0.8386 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