Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.001207/0.001207, allocations: 90.59 kB / 15.06 MB, free: 1.094 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.0009775/0.0009775, allocations: 172.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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.58/2.58, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0009962/0.8306, allocations: 370.5 kB / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.8308, allocations: 15.98 kB / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.8309, allocations: 4 kB / 0.9815 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.831, allocations: 7.922 kB / 0.9816 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.8311, allocations: 4 kB / 0.9816 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.8312, allocations: 0 / 0.9816 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.8313, allocations: 39.91 kB / 0.9816 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.8315, allocations: 27.98 kB / 0.9816 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.8315, allocations: 3.938 kB / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.8316, allocations: 7.938 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.8316, allocations: 0 / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.8316, allocations: 0 / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.8317, allocations: 15.92 kB / 0.9816 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.8317, allocations: 33.64 kB / 0.9817 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.8318, allocations: 35.92 kB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.8318, allocations: 4 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.816e-06/0.8318, allocations: 0 / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8318, allocations: 7.938 kB / 0.9817 GB, free: 5.695 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004027/0.8322, allocations: 333.5 kB / 0.982 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.8323, allocations: 12.03 kB / 0.9821 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.8324, allocations: 34.56 kB / 0.9821 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.8324, allocations: 7.984 kB / 0.9821 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.8326, allocations: 174.9 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.8327, allocations: 4 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.8327, allocations: 4 kB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.8329, allocations: 81.61 kB / 0.9823 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8329, allocations: 3.938 kB / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.8329, allocations: 8 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8329, allocations: 0 / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.833, allocations: 43.97 kB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.8336, allocations: 491 kB / 0.9829 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.8338, allocations: 173.1 kB / 0.983 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.8338, allocations: 80.14 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.8338, allocations: 75.28 kB / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.8339, allocations: 105.8 kB / 0.9833 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.8339, allocations: 0 / 0.9833 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.834, allocations: 41.62 kB / 0.9833 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.8341, allocations: 130.7 kB / 0.9834 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.8343, allocations: 171.5 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.8343, allocations: 29.7 kB / 0.9836 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.8344, allocations: 88.14 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.8344, allocations: 3.984 kB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.8344, allocations: 4 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8346, allocations: 318.8 kB / 0.984 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.8346, allocations: 11.98 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.8346, allocations: 8 kB / 0.9841 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/0.8347, allocations: 11.98 kB / 0.9841 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8347, allocations: 0 / 0.9841 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000149/0.8348, allocations: 57.53 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8349, allocations: 4 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8349, allocations: 4 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8349, allocations: 4 kB / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.835, allocations: 0 / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.835, allocations: 0 / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.835, allocations: 16.02 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.835, allocations: 4 kB / 0.9841 GB, free: 2.973 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001251/0.8352, allocations: 189.1 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.8353, allocations: 116.9 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.8353, allocations: 112.8 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.8354, allocations: 178.6 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-05/0.8354, allocations: 184.2 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.8355, allocations: 184.2 kB / 0.9851 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.8358, allocations: 425.2 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/0.8358, allocations: 105 kB / 0.9856 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.8359, allocations: 104.9 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.8359, allocations: 184.2 kB / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.836, allocations: 188.2 kB / 0.986 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.665e-05/0.8361, allocations: 176.3 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.557e-05/0.8362, allocations: 180.2 kB / 0.9864 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.8363, allocations: 319.6 kB / 0.9867 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.8364, allocations: 190.1 kB / 0.9869 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.8365, allocations: 176.3 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.8366, allocations: 108.9 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.8367, allocations: 180.3 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.8368, allocations: 108.9 kB / 0.9874 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.8369, allocations: 132.2 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8369, allocations: 4 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002326/0.8371, allocations: 7.984 kB / 0.9875 GB, free: 15.28 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: 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.0004591/0.8376, allocations: 0.8013 MB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.92e-05/0.8377, allocations: 23.92 kB / 0.9883 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8377, allocations: 4.062 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.8377, allocations: 0 / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.8381, allocations: 0.5224 MB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.839, allocations: 0.5953 MB / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.8393, allocations: 0.6926 MB / 0.9901 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.8393, allocations: 4 kB / 0.9901 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.8394, allocations: 23.42 kB / 0.9901 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of SimCode: time 8.91e-07/0.8394, allocations: 0 / 0.9901 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.8512, allocations: 1.389 MB / 0.9915 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.8514, allocations: 203.3 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.594, allocations: 0 / 0.9917 GB, free: 11.02 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat does not exist to compare? outputFormat=mat