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.0008053/0.0008053, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009029/0.0009029, allocations: 168.7 kB / 15.95 MB, free: 204 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.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.426 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.359/2.359, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6313, allocations: 142.3 MB / 0.9538 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005584/0.6319, allocations: 252.9 kB / 0.9541 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.6322, allocations: 136 kB / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.6323, allocations: 0 / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.6323, allocations: 0 / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.6325, allocations: 10.27 kB / 0.9542 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.6325, allocations: 19.8 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.6326, allocations: 20.77 kB / 0.9543 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.6326, allocations: 2.281 kB / 0.9543 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.6327, allocations: 18.09 kB / 0.9543 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.633, allocations: 320 kB / 0.9546 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.633, allocations: 1.438 kB / 0.9546 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.6331, allocations: 20.61 kB / 0.9546 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.6331, allocations: 10.39 kB / 0.9546 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.6331, allocations: 32.58 kB / 0.9546 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.481e-05/0.6332, allocations: 14.25 kB / 0.9547 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6332, allocations: 1.406 kB / 0.9547 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6332, allocations: 0 / 0.9547 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6332, allocations: 0 / 0.9547 GB, free: 7.609 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.0002161/0.6334, allocations: 345.8 kB / 0.955 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6335, allocations: 17.31 kB / 0.955 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.665e-05/0.6335, allocations: 32.19 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.6335, allocations: 6.453 kB / 0.955 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.6336, allocations: 182.4 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.6337, allocations: 1.156 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.6337, allocations: 2.438 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.6338, allocations: 42.41 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6338, allocations: 1.438 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6338, allocations: 4 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6339, allocations: 1.094 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.722e-05/0.6339, allocations: 24.75 kB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.6342, allocations: 271.1 kB / 0.9556 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.6343, allocations: 16.8 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.6343, allocations: 6.172 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.6343, allocations: 9.234 kB / 0.9556 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.6344, allocations: 34.56 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.6344, allocations: 5.156 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.6345, allocations: 40.36 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.6345, allocations: 51.41 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6346, allocations: 136.4 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.6347, allocations: 25.7 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.6347, allocations: 100.2 kB / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.6347, allocations: 0 / 0.956 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.6347, allocations: 4 kB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.6348, allocations: 317.1 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.6348, allocations: 14.52 kB / 0.9563 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.6349, allocations: 9.844 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.6349, allocations: 4.562 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6349, allocations: 0 / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000137/0.635, allocations: 67.33 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6351, allocations: 13.02 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6351, allocations: 0 / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6351, allocations: 5.078 kB / 0.9564 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.48e-05/0.6351, allocations: 1.094 kB / 0.9564 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6351, allocations: 5.094 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.6352, allocations: 8.688 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.6352, allocations: 2.781 kB / 0.9564 GB, free: 5.773 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 5.694e-05/0.6353, allocations: 111.8 kB / 0.9565 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.6353, allocations: 6.125 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.6354, allocations: 17.31 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6354, allocations: 1.375 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6354, allocations: 4 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6354, allocations: 0 / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.6356, allocations: 363.6 kB / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6356, allocations: 3.953 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.6357, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6357, allocations: 1.562 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.6357, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6357, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6357, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.094e-05/0.6358, allocations: 61.64 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.6358, allocations: 90.83 kB / 0.957 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.6358, allocations: 1 kB / 0.957 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.6359, allocations: 3.984 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.6359, allocations: 1.344 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.6359, allocations: 1.219 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.636, allocations: 110.7 kB / 0.9571 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.636, allocations: 1.344 kB / 0.9571 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003541/0.6363, allocations: 12.66 kB / 0.9571 GB, free: 4.945 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.0004394/0.6368, allocations: 0.6317 MB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.6369, allocations: 22.38 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6369, allocations: 3.938 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.6369, allocations: 1.375 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.6371, allocations: 3.062 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.6375, allocations: 152.8 kB / 0.9579 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.6377, allocations: 0.6849 MB / 0.9586 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.6377, allocations: 9.25 kB / 0.9586 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.6378, allocations: 16.67 kB / 0.9586 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6378, allocations: 1.094 kB / 0.9586 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.6486, allocations: 1.351 MB / 0.96 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.6488, allocations: 226.9 kB / 0.9602 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.343, allocations: 0 / 0.9602 GB, free: 2.535 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