Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",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.001232/0.001232, allocations: 99.86 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.001393/0.001393, 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.291/2.291, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7126, allocations: 142.3 MB / 0.9536 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001088/0.7138, allocations: 0.976 MB / 0.9545 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.7148, allocations: 0.7237 MB / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.7148, allocations: 0 / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.7148, allocations: 0 / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.7149, allocations: 13.44 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.7153, allocations: 115.1 kB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.7154, allocations: 31.81 kB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.7154, allocations: 9.328 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.7155, allocations: 20.64 kB / 0.9554 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.7155, allocations: 15.61 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.7156, allocations: 10.28 kB / 0.9554 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.7159, allocations: 192 kB / 0.9556 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.716, allocations: 9.016 kB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.716, allocations: 29.45 kB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.7162, allocations: 92.05 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.7162, allocations: 0 / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7162, allocations: 7.938 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7162, allocations: 0 / 0.9558 GB, free: 6.598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003706/0.7166, allocations: 367.8 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7166, allocations: 9.25 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.7167, allocations: 36.22 kB / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.7167, allocations: 9.266 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.7168, allocations: 168.6 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7168, allocations: 9.391 kB / 0.9563 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.7168, allocations: 10.75 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.7169, allocations: 73.53 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.717, allocations: 4.906 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.717, allocations: 5.031 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.717, allocations: 0.9688 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.7171, allocations: 26.69 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.7192, allocations: 2.088 MB / 0.9585 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.7193, allocations: 174.3 kB / 0.9587 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.7193, allocations: 83.22 kB / 0.9587 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7194, allocations: 107.1 kB / 0.9588 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7194, allocations: 0 / 0.9588 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.546e-05/0.7194, allocations: 32.05 kB / 0.9589 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.7195, allocations: 128 kB / 0.959 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.7196, allocations: 138.5 kB / 0.9591 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.7196, allocations: 29.7 kB / 0.9591 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.7196, allocations: 99.05 kB / 0.9592 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.7196, allocations: 1.188 kB / 0.9592 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.7197, allocations: 4 kB / 0.9592 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.7197, allocations: 320 kB / 0.9595 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.7197, allocations: 5.625 kB / 0.9596 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.7198, allocations: 38.14 kB / 0.9596 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.7198, allocations: 15.91 kB / 0.9596 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7198, allocations: 0 / 0.9596 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001582/0.72, allocations: 71.33 kB / 0.9597 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.72, allocations: 5.781 kB / 0.9597 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.72, allocations: 1.062 kB / 0.9597 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.72, allocations: 5.359 kB / 0.9597 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.7201, allocations: 24.89 kB / 0.9597 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7201, allocations: 5.375 kB / 0.9597 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.7202, allocations: 2.75 kB / 0.9597 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7202, allocations: 3.656 kB / 0.9597 GB, free: 2.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * 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 5.607e-05/0.7203, allocations: 182.3 kB / 0.9599 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.7203, allocations: 116.2 kB / 0.96 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.7204, allocations: 117.2 kB / 0.9601 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.7204, allocations: 181.2 kB / 0.9603 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.7204, allocations: 181.4 kB / 0.9605 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.7204, allocations: 177.6 kB / 0.9606 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.7206, allocations: 414.7 kB / 0.961 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.7206, allocations: 105.9 kB / 0.9611 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.7206, allocations: 102 kB / 0.9612 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.7207, allocations: 189.1 kB / 0.9614 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.7207, allocations: 181.2 kB / 0.9616 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.44e-05/0.7207, allocations: 181.2 kB / 0.9618 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.019e-05/0.7208, allocations: 181.3 kB / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.7209, allocations: 313 kB / 0.9622 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.721, allocations: 192.2 kB / 0.9624 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.7211, allocations: 177.4 kB / 0.9626 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.7212, allocations: 110.3 kB / 0.9627 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.7213, allocations: 180.2 kB / 0.9629 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.7213, allocations: 112.9 kB / 0.963 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.7214, allocations: 103.4 kB / 0.9631 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7214, allocations: 3.938 kB / 0.9631 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000315/0.7217, allocations: 54.03 kB / 0.9631 GB, free: 14.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006505/0.7224, allocations: 0.8722 MB / 0.964 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.7224, allocations: 20.78 kB / 0.964 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7225, allocations: 0 / 0.964 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.7225, allocations: 1.469 kB / 0.964 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.7229, allocations: 0.525 MB / 0.9645 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.7235, allocations: 296.8 kB / 0.9648 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.7238, allocations: 0.6843 MB / 0.9655 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.7239, allocations: 7.766 kB / 0.9655 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.7239, allocations: 19.45 kB / 0.9655 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7239, allocations: 3.938 kB / 0.9655 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.7368, allocations: 2.228 MB / 0.9677 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.737, allocations: 207.8 kB / 0.9679 GB, free: 11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.47, allocations: 3.062 kB / 0.9679 GB, free: 11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat does not exist to compare? outputFormat=mat