Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.0009686/0.0009686, allocations: 97.91 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.001106/0.001106, 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 1.265/1.265, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7131, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003587/0.7167, allocations: 1.684 MB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.7183, allocations: 0.5263 MB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.7185, allocations: 4 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.7187, allocations: 11.86 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.7188, allocations: 31.88 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.7192, allocations: 55.86 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.7195, allocations: 136.3 kB / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.7199, allocations: 86.11 kB / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.7201, allocations: 63.7 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.7203, allocations: 71.61 kB / 0.9835 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.7203, allocations: 4 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.7204, allocations: 8 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.7205, allocations: 31.84 kB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.7206, allocations: 57.58 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.7209, allocations: 193.8 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.721, allocations: 3.938 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.474e-06/0.721, allocations: 4 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.721, allocations: 0 / 0.9838 GB, free: 3.344 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001156/0.7222, allocations: 0.4985 MB / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.7222, allocations: 8.031 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.7223, allocations: 54.55 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.7224, allocations: 23.72 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.723, allocations: 247.4 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.723, allocations: 12 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.7231, allocations: 16 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.7238, allocations: 236.7 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7238, allocations: 4 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.7239, allocations: 4 kB / 0.9848 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.7239, allocations: 7.984 kB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.7245, allocations: 151.9 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.7261, allocations: 0.6011 MB / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.7268, allocations: 122.8 kB / 0.9857 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.7268, allocations: 4 kB / 0.9857 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.7269, allocations: 38.69 kB / 0.9857 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.7269, allocations: 0 / 0.9857 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0008228/0.7277, allocations: 185.3 kB / 0.9859 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.7279, allocations: 132.5 kB / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.7282, allocations: 207 kB / 0.9862 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.7283, allocations: 33.7 kB / 0.9863 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.7284, allocations: 148.1 kB / 0.9864 GB, free: 408 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.7285, allocations: 27.64 kB / 0.9864 GB, free: 380 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.7285, allocations: 8 kB / 0.9864 GB, free: 372 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7287, allocations: 330.8 kB / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.729, allocations: 47.97 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.7293, allocations: 94.64 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.7295, allocations: 40.36 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7295, allocations: 0 / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005914/0.7301, allocations: 165.4 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7302, allocations: 4 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.7302, allocations: 7.938 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.7302, allocations: 0 / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.7304, allocations: 23.92 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7305, allocations: 3.984 kB / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.7308, allocations: 39.86 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.7308, allocations: 4 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002024/0.731, allocations: 139.2 kB / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.7311, allocations: 19.81 kB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/0.7317, allocations: 158.9 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7318, allocations: 0 / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.7318, allocations: 4 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7318, allocations: 0 / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.7323, allocations: 273.4 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7323, allocations: 7.984 kB / 0.9877 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.7325, allocations: 20 kB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.7325, allocations: 0 / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.7325, allocations: 7.922 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7325, allocations: 0 / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7326, allocations: 0 / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.7332, allocations: 243.3 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.7333, allocations: 96.8 kB / 0.9881 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.7333, allocations: 4 kB / 0.9881 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.7337, allocations: 27.97 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7338, allocations: 27.95 kB / 0.9881 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.7339, allocations: 4 kB / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002163/0.7341, allocations: 148.4 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7341, allocations: 0 / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005495/0.7347, allocations: 43.84 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001025/0.7357, allocations: 0.7905 MB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.7363, allocations: 118.9 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7363, allocations: 4.062 kB / 0.9892 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.7366, allocations: 59.91 kB / 0.9893 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.737, allocations: 18.36 kB / 0.9893 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.7402, allocations: 1.212 MB / 0.9905 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.7408, allocations: 0.7399 MB / 0.9912 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.741, allocations: 17.42 kB / 0.9912 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.7413, allocations: 67.41 kB / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/0.7413, allocations: 0 / 0.9913 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.7667, allocations: 3.695 MB / 0.9949 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.7671, allocations: 224.7 kB / 0.9951 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.976, allocations: 0 / 0.9951 GB, free: 7.453 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat does not exist to compare? outputFormat=mat