Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001012/0.001012, allocations: 92.16 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.00127/0.00127, 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.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.469/2.469, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7376, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002323/0.74, allocations: 1.698 MB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.7422, allocations: 1.556 MB / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.7423, allocations: 4 kB / 0.9843 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.7423, allocations: 7.922 kB / 0.9843 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.7424, allocations: 47.61 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.7432, allocations: 267.2 kB / 0.9846 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.7434, allocations: 203.1 kB / 0.9848 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.7435, allocations: 41.64 kB / 0.9849 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.7436, allocations: 67.78 kB / 0.9849 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.7438, allocations: 79.73 kB / 0.985 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.7438, allocations: 8 kB / 0.985 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007295/0.7446, allocations: 383.5 kB / 0.9854 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.7446, allocations: 31.89 kB / 0.9854 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.7447, allocations: 57.64 kB / 0.9855 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.7451, allocations: 309.5 kB / 0.9858 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7451, allocations: 4 kB / 0.9858 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7451, allocations: 4 kB / 0.9858 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.7451, allocations: 0 / 0.9858 GB, free: 1.48 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008112/0.7459, allocations: 494.9 kB / 0.9862 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.746, allocations: 8.031 kB / 0.9862 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.746, allocations: 50.55 kB / 0.9863 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.7466, allocations: 99.72 kB / 0.9864 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.7467, allocations: 178.9 kB / 0.9866 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.7468, allocations: 49.69 kB / 0.9866 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.7469, allocations: 15.94 kB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.7473, allocations: 181.5 kB / 0.9868 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7473, allocations: 0 / 0.9868 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.7473, allocations: 8 kB / 0.9868 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7473, allocations: 4 kB / 0.9868 GB, free: 312 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.7478, allocations: 191.8 kB / 0.987 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.7491, allocations: 0.9268 MB / 0.9879 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.7496, allocations: 178.5 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.7498, allocations: 80.83 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.7504, allocations: 0.522 MB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.7505, allocations: 30.56 kB / 0.9887 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.7505, allocations: 0 / 0.9887 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006804/0.7512, allocations: 257.6 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7512, allocations: 55.41 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.7514, allocations: 159 kB / 0.9891 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.7514, allocations: 29.7 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.7515, allocations: 115.8 kB / 0.9893 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.7515, allocations: 47.3 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.7516, allocations: 8 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7517, allocations: 318.8 kB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.7519, allocations: 83.91 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.7521, allocations: 102.7 kB / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.7523, allocations: 69.34 kB / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7523, allocations: 0 / 0.9899 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004649/0.7528, allocations: 221.5 kB / 0.9901 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7528, allocations: 4 kB / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7528, allocations: 4 kB / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7528, allocations: 0 / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.7531, allocations: 39.91 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7531, allocations: 4 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7533, allocations: 31.73 kB / 0.9902 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.7533, allocations: 15.94 kB / 0.9902 GB, free: 12.54 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: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001081/0.7534, allocations: 125.8 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.7535, allocations: 11.91 kB / 0.9903 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.754, allocations: 209.4 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.754, allocations: 0 / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.754, allocations: 4 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.754, allocations: 0 / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.7554, allocations: 0.9856 MB / 0.9915 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7554, allocations: 0 / 0.9915 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.7556, allocations: 39.97 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7556, allocations: 0 / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.7556, allocations: 4 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7556, allocations: 0 / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7557, allocations: 3.953 kB / 0.9915 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.7561, allocations: 301 kB / 0.9918 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.7562, allocations: 93 kB / 0.9919 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.7562, allocations: 4 kB / 0.9919 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.7564, allocations: 19.97 kB / 0.9919 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.7565, allocations: 27.81 kB / 0.9919 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.7565, allocations: 4 kB / 0.9919 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.7566, allocations: 121.1 kB / 0.9921 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7566, allocations: 0 / 0.9921 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000443/0.757, allocations: 131.8 kB / 0.9922 GB, free: 10.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001047/0.7581, allocations: 0.952 MB / 0.9931 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.7586, allocations: 185.2 kB / 0.9933 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7586, allocations: 0 / 0.9933 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.7588, allocations: 87.89 kB / 0.9934 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.7592, allocations: 46.27 kB / 0.9934 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.761, allocations: 1.044 MB / 0.9944 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.7613, allocations: 0.7089 MB / 0.9951 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.7615, allocations: 31.98 kB / 0.9952 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.7616, allocations: 47.42 kB / 0.9952 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7616, allocations: 0 / 0.9952 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.7787, allocations: 5.629 MB / 1.001 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.779, allocations: 221 kB / 1.001 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.619, allocations: 0 / 1.001 GB, free: 1.449 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat