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.0008377/0.0008377, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0009685/0.0009685, allocations: 172.7 kB / 15.95 MB, free: 208 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.297/1.297, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003091, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5756, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000551/0.5762, allocations: 252.1 kB / 0.9814 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.5765, allocations: 140.2 kB / 0.9815 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.5766, allocations: 0 / 0.9815 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.5766, allocations: 3.938 kB / 0.9815 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.5767, allocations: 7.938 kB / 0.9815 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.945e-05/0.5768, allocations: 19.98 kB / 0.9815 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.5769, allocations: 23.92 kB / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.5769, allocations: 0 / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.5769, allocations: 19.91 kB / 0.9816 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.5773, allocations: 302.4 kB / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.5773, allocations: 0 / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.5773, allocations: 11.98 kB / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.5774, allocations: 11.94 kB / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.5774, allocations: 25.7 kB / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.651e-05/0.5775, allocations: 27.95 kB / 0.9819 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5775, allocations: 0 / 0.9819 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5775, allocations: 0 / 0.9819 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.5775, allocations: 0 / 0.9819 GB, free: 5.43 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.000274/0.5778, allocations: 349.4 kB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5778, allocations: 8.031 kB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.5778, allocations: 30.56 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.5779, allocations: 4 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.578, allocations: 174.9 kB / 0.9825 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.578, allocations: 0 / 0.9825 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.578, allocations: 4 kB / 0.9825 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5781, allocations: 49.64 kB / 0.9825 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5782, allocations: 0 / 0.9825 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5782, allocations: 0 / 0.9825 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5782, allocations: 0 / 0.9825 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.5782, allocations: 23.98 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.5785, allocations: 272.9 kB / 0.9828 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.885e-05/0.5786, allocations: 22.52 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.5786, allocations: 8.797 kB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.5786, allocations: 0 / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5787, allocations: 34.56 kB / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5787, allocations: 64 / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.5788, allocations: 37.61 kB / 0.9829 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.5788, allocations: 59.34 kB / 0.983 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5789, allocations: 147.2 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.579, allocations: 25.7 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.579, allocations: 92.05 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.579, allocations: 3.938 kB / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.579, allocations: 0 / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.5791, allocations: 327 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.5792, allocations: 8 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.5792, allocations: 8 kB / 0.9836 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.5792, allocations: 20.06 kB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5792, allocations: 0 / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.947e-05/0.5793, allocations: 61.59 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5793, allocations: 4 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.5794, allocations: 4 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.5794, allocations: 0 / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.5794, allocations: 3.938 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5794, allocations: 4 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.5794, allocations: 7.938 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5794, allocations: 0 / 0.9837 GB, free: 3.445 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 6.561e-05/0.5795, allocations: 121.8 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5796, allocations: 3.906 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.5796, allocations: 7.531 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5796, allocations: 0 / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5796, allocations: 0 / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5796, allocations: 0 / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.5798, allocations: 366.7 kB / 0.9841 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5799, allocations: 0 / 0.9841 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.5799, allocations: 0 / 0.9841 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5799, allocations: 0 / 0.9841 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5799, allocations: 4 kB / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5799, allocations: 0 / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5799, allocations: 7.922 kB / 0.9841 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.363e-05/0.58, allocations: 75.31 kB / 0.9842 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.58, allocations: 81.11 kB / 0.9843 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.58, allocations: 3.984 kB / 0.9843 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.58, allocations: 4 kB / 0.9843 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5801, allocations: 0 / 0.9843 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.5801, allocations: 0 / 0.9843 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.5801, allocations: 105.2 kB / 0.9844 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5801, allocations: 0 / 0.9844 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002046/0.5804, allocations: 20.02 kB / 0.9844 GB, free: 2.559 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.0004236/0.5808, allocations: 0.6329 MB / 0.985 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.5809, allocations: 24.03 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5809, allocations: 0 / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-06/0.5809, allocations: 3.938 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.581, allocations: 8 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.5814, allocations: 151.2 kB / 0.9852 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5816, allocations: 0.6849 MB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.5816, allocations: 7.984 kB / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.5816, allocations: 11.44 kB / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of SimCode: time 1.362e-06/0.5816, allocations: 0 / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.592, allocations: 1.361 MB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.5922, allocations: 240.9 kB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.29, allocations: 0 / 0.9875 GB, free: 15.47 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