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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001666, allocations: 100.9 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.002039/0.002039, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.511/2.511, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.244/4.244, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.091, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0008869/1.091, allocations: 256.1 kB / 0.9811 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005121/1.092, allocations: 140.2 kB / 0.9812 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/1.092, allocations: 0 / 0.9812 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/1.092, allocations: 0 / 0.9812 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/1.092, allocations: 7.938 kB / 0.9812 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.703e-05/1.092, allocations: 31.91 kB / 0.9813 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.13e-05/1.093, allocations: 11.98 kB / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/1.093, allocations: 0 / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/1.093, allocations: 19.92 kB / 0.9813 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/1.093, allocations: 259.8 kB / 0.9816 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/1.093, allocations: 4 kB / 0.9816 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/1.093, allocations: 11.98 kB / 0.9816 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/1.093, allocations: 3.938 kB / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/1.093, allocations: 33.7 kB / 0.9816 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/1.093, allocations: 19.97 kB / 0.9816 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.093, allocations: 4 kB / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/1.093, allocations: 0 / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/1.093, allocations: 0 / 0.9816 GB, free: 5.5 MB / 0.7325 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.0004503/1.094, allocations: 349.3 kB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.094, allocations: 8.031 kB / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/1.094, allocations: 34.56 kB / 0.982 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/1.094, allocations: 0 / 0.982 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.094, allocations: 174.9 kB / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.094, allocations: 0 / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/1.094, allocations: 8 kB / 0.9822 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.095, allocations: 49.62 kB / 0.9822 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.095, allocations: 0 / 0.9822 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.095, allocations: 4 kB / 0.9822 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/1.095, allocations: 4 kB / 0.9822 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/1.095, allocations: 15.98 kB / 0.9822 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/1.095, allocations: 268.9 kB / 0.9825 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/1.095, allocations: 22.5 kB / 0.9825 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/1.095, allocations: 4 kB / 0.9825 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.095, allocations: 34.5 kB / 0.9826 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.095, allocations: 0 / 0.9826 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002119/1.096, allocations: 41.67 kB / 0.9826 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.096, allocations: 55.34 kB / 0.9827 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/1.096, allocations: 143.2 kB / 0.9828 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/1.096, allocations: 25.7 kB / 0.9828 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/1.096, allocations: 104.1 kB / 0.9829 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/1.096, allocations: 0 / 0.9829 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/1.096, allocations: 4 kB / 0.9829 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.096, allocations: 314.8 kB / 0.9832 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/1.096, allocations: 11.98 kB / 0.9832 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/1.096, allocations: 8 kB / 0.9832 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/1.096, allocations: 8.125 kB / 0.9832 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.096, allocations: 3.953 kB / 0.9832 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001618/1.096, allocations: 65.59 kB / 0.9833 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.096, allocations: 9.562 kB / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.096, allocations: 3.984 kB / 0.9833 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.096, allocations: 4 kB / 0.9833 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.727e-05/1.097, allocations: 7.875 kB / 0.9833 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.097, allocations: 0 / 0.9833 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/1.097, allocations: 7.938 kB / 0.9833 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/1.097, allocations: 3.984 kB / 0.9833 GB, free: 3.516 MB / 0.7325 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 0.0001085/1.097, allocations: 113.8 kB / 0.9835 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/1.097, allocations: 7.859 kB / 0.9835 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/1.097, allocations: 15.52 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.097, allocations: 0 / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.097, allocations: 0 / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.097, allocations: 0 / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/1.097, allocations: 358.7 kB / 0.9838 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.097, allocations: 3.984 kB / 0.9838 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/1.097, allocations: 3.938 kB / 0.9838 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.097, allocations: 0 / 0.9838 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.097, allocations: 4 kB / 0.9838 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.097, allocations: 4.031 kB / 0.9838 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.097, allocations: 0 / 0.9838 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/1.097, allocations: 65 kB / 0.9839 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/1.098, allocations: 81.09 kB / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.098, allocations: 0 / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.877e-05/1.098, allocations: 0 / 0.984 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/1.098, allocations: 7.984 kB / 0.984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/1.098, allocations: 4.031 kB / 0.984 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001095/1.098, allocations: 104.7 kB / 0.9841 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.098, allocations: 3.938 kB / 0.9841 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003161/1.098, allocations: 8 kB / 0.9841 GB, free: 2.641 MB / 0.7325 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.0007288/1.099, allocations: 0.6343 MB / 0.9847 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001175/1.099, allocations: 27.98 kB / 0.9847 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.099, allocations: 0 / 0.9847 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/1.099, allocations: 3.938 kB / 0.9847 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.099, allocations: 5.25 kB / 0.9848 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/1.1, allocations: 156.4 kB / 0.9849 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/1.1, allocations: 0.6809 MB / 0.9856 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.944e-05/1.1, allocations: 7.984 kB / 0.9856 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/1.1, allocations: 15.44 kB / 0.9856 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/1.1, allocations: 0 / 0.9856 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9609/2.061, allocations: 1.337 MB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/2.061, allocations: 231.1 kB / 0.9871 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.661/5.722, allocations: 4.062 kB / 0.9871 GB, free: 15.57 MB / 0.7481 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) Environment - environmentSimulation: 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