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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6336/0.634, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005375/0.6346, allocations: 263.5 kB / 0.9538 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.6349, allocations: 132.8 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.6349, allocations: 0 / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.6349, allocations: 3.938 kB / 0.954 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.6351, allocations: 10.56 kB / 0.954 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.034e-05/0.6352, allocations: 23.64 kB / 0.954 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.6352, allocations: 21.61 kB / 0.954 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.6353, allocations: 6.266 kB / 0.954 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.6353, allocations: 5.438 kB / 0.954 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.6357, allocations: 284.8 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.6357, allocations: 1.25 kB / 0.9543 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.6358, allocations: 11.12 kB / 0.9543 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.6358, allocations: 10.53 kB / 0.9543 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.6358, allocations: 26.89 kB / 0.9543 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.148e-05/0.6359, allocations: 23.97 kB / 0.9544 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6359, allocations: 4 kB / 0.9544 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6359, allocations: 0 / 0.9544 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6359, allocations: 5.156 kB / 0.9544 GB, free: 7.523 MB / 0.7169 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.0002366/0.6362, allocations: 346.1 kB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6362, allocations: 8.656 kB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.6363, allocations: 35.64 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.6363, allocations: 7.016 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.6364, allocations: 166.4 kB / 0.9549 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6364, allocations: 1.156 kB / 0.9549 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.6364, allocations: 5.938 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6365, allocations: 55.3 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.6366, allocations: 0 / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.6366, allocations: 0 / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6366, allocations: 4.906 kB / 0.955 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.6366, allocations: 21.72 kB / 0.955 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.6369, allocations: 267.4 kB / 0.9553 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.955e-05/0.6369, allocations: 16.77 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.637, allocations: 4 kB / 0.9553 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.637, allocations: 36.11 kB / 0.9553 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.637, allocations: 0 / 0.9553 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.6371, allocations: 44.66 kB / 0.9554 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.6371, allocations: 51.41 kB / 0.9554 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.6372, allocations: 143 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.6372, allocations: 25.7 kB / 0.9556 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.6373, allocations: 99.64 kB / 0.9557 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.6373, allocations: 1.625 kB / 0.9557 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6373, allocations: 0 / 0.9557 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.6373, allocations: 320.2 kB / 0.956 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.6374, allocations: 5.625 kB / 0.956 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.6374, allocations: 17.92 kB / 0.956 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.6374, allocations: 8.812 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6374, allocations: 0 / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.198e-05/0.6375, allocations: 67.5 kB / 0.9561 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6375, allocations: 8.641 kB / 0.9561 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.6375, allocations: 4 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.6376, allocations: 1.5 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.861e-05/0.6376, allocations: 1.562 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6376, allocations: 3.984 kB / 0.9561 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.6376, allocations: 5.562 kB / 0.9561 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.6376, allocations: 1.625 kB / 0.9561 GB, free: 5.711 MB / 0.7169 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 4.694e-05/0.6377, allocations: 114 kB / 0.9562 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.6377, allocations: 6.062 kB / 0.9562 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.6377, allocations: 18.06 kB / 0.9562 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.6377, allocations: 4 kB / 0.9562 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6377, allocations: 0 / 0.9562 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6378, allocations: 5.438 kB / 0.9562 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.6379, allocations: 357.6 kB / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6379, allocations: 0 / 0.9566 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-06/0.638, allocations: 5.828 kB / 0.9566 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.638, allocations: 0 / 0.9566 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.638, allocations: 0 / 0.9566 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.638, allocations: 4.031 kB / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.638, allocations: 1.531 kB / 0.9566 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.793e-05/0.638, allocations: 63.66 kB / 0.9566 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.6381, allocations: 91.88 kB / 0.9567 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.6381, allocations: 3.953 kB / 0.9567 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.6381, allocations: 1.188 kB / 0.9567 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.6381, allocations: 1.625 kB / 0.9567 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.6381, allocations: 4.219 kB / 0.9567 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.6382, allocations: 107.2 kB / 0.9568 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6382, allocations: 0 / 0.9568 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001979/0.6384, allocations: 10.66 kB / 0.9569 GB, free: 4.879 MB / 0.7169 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.0003437/0.6387, allocations: 0.6209 MB / 0.9575 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.6388, allocations: 25.73 kB / 0.9575 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6388, allocations: 0 / 0.9575 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.6388, allocations: 2.094 kB / 0.9575 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.239e-05/0.6389, allocations: 8.984 kB / 0.9575 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.6392, allocations: 149.9 kB / 0.9576 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.6393, allocations: 0.6894 MB / 0.9583 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.6394, allocations: 4.562 kB / 0.9583 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.6394, allocations: 20.55 kB / 0.9583 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6394, allocations: 1.031 kB / 0.9583 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.6498, allocations: 1.333 MB / 0.9596 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.65, allocations: 228.7 kB / 0.9599 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.278, allocations: 1.344 kB / 0.9599 GB, free: 2.477 MB / 0.7169 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