Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_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.0007715/0.0007713, allocations: 86.72 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.0007814/0.0007816, 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.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.438 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.352/2.352, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004972, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7036, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002099/0.7058, allocations: 1.691 MB / 0.9555 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.7079, allocations: 1.542 MB / 0.957 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.7081, allocations: 1.875 kB / 0.957 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.7081, allocations: 12.98 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.7083, allocations: 46.11 kB / 0.9571 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009841/0.7093, allocations: 267.7 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.7095, allocations: 197.9 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.7096, allocations: 50.03 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.7098, allocations: 64.06 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.7099, allocations: 77.27 kB / 0.9577 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.71, allocations: 8.812 kB / 0.9577 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.7108, allocations: 384.5 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.7108, allocations: 29.56 kB / 0.9581 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.7109, allocations: 59.73 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.7113, allocations: 314 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7113, allocations: 3.938 kB / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7114, allocations: 0 / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7114, allocations: 0 / 0.9585 GB, free: 4.652 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007048/0.7121, allocations: 0.4906 MB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7121, allocations: 9.625 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/0.7122, allocations: 52.05 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.7127, allocations: 101.6 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/0.7128, allocations: 175 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.7129, allocations: 50.06 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.7129, allocations: 13.62 kB / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.7133, allocations: 186.1 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7133, allocations: 0 / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.7134, allocations: 5.375 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.7134, allocations: 8.078 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.7138, allocations: 192.8 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.7152, allocations: 0.925 MB / 0.9606 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.7157, allocations: 182 kB / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.7159, allocations: 81.02 kB / 0.9608 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.7164, allocations: 0.5239 MB / 0.9614 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7164, allocations: 35.59 kB / 0.9614 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7165, allocations: 4 kB / 0.9614 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007299/0.7172, allocations: 241.3 kB / 0.9616 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.7172, allocations: 61.16 kB / 0.9617 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.7174, allocations: 162.1 kB / 0.9618 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7174, allocations: 26.61 kB / 0.9619 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.7175, allocations: 122.3 kB / 0.962 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.7175, allocations: 48.7 kB / 0.962 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.7176, allocations: 1.25 kB / 0.962 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.7176, allocations: 325.4 kB / 0.9623 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.7178, allocations: 79.83 kB / 0.9624 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.718, allocations: 104.4 kB / 0.9625 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.7183, allocations: 69.34 kB / 0.9626 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7183, allocations: 4 kB / 0.9626 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004866/0.7188, allocations: 215.3 kB / 0.9628 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7188, allocations: 5.406 kB / 0.9628 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7188, allocations: 4.781 kB / 0.9628 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7188, allocations: 0.9688 kB / 0.9628 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.7191, allocations: 50.31 kB / 0.9628 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.7191, allocations: 1.219 kB / 0.9628 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.7193, allocations: 25.77 kB / 0.9629 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.7193, allocations: 21.78 kB / 0.9629 GB, free: 0.7617 MB / 0.7169 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 9.551e-05/0.7194, allocations: 130.8 kB / 0.963 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.7195, allocations: 12 kB / 0.963 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.7199, allocations: 200.3 kB / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.72, allocations: 2.5 kB / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.72, allocations: 0 / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.72, allocations: 4 kB / 0.9632 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.7214, allocations: 0.9892 MB / 0.9642 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7214, allocations: 0 / 0.9642 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.7216, allocations: 31.59 kB / 0.9642 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7216, allocations: 2.312 kB / 0.9642 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.7216, allocations: 1.156 kB / 0.9642 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7216, allocations: 2.25 kB / 0.9642 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7216, allocations: 64 / 0.9642 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.7222, allocations: 314.6 kB / 0.9645 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.7223, allocations: 94.53 kB / 0.9646 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.7223, allocations: 5.125 kB / 0.9646 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.7226, allocations: 17.59 kB / 0.9646 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.7226, allocations: 11.7 kB / 0.9647 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.7226, allocations: 7.875 kB / 0.9647 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.7227, allocations: 123.2 kB / 0.9648 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7227, allocations: 0 / 0.9648 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005508/0.7233, allocations: 127.7 kB / 0.9649 GB, free: 15 MB / 0.7325 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.001286/0.7246, allocations: 0.9523 MB / 0.9658 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.7251, allocations: 187.5 kB / 0.966 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7251, allocations: 1.156 kB / 0.966 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.7253, allocations: 87.91 kB / 0.9661 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.7257, allocations: 43.92 kB / 0.9661 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.7278, allocations: 1.05 MB / 0.9672 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.7282, allocations: 0.7128 MB / 0.9679 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000182/0.7284, allocations: 26.25 kB / 0.9679 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.7285, allocations: 50.72 kB / 0.9679 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7285, allocations: 0 / 0.9679 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.7497, allocations: 5.634 MB / 0.9734 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.75, allocations: 221.6 kB / 0.9736 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.541, allocations: 1 kB / 0.9736 GB, free: 9.582 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat