Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001027/0.001027, allocations: 86.25 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.001021/0.001022, 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.641/2.641, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 15.94 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8034, allocations: 146.8 MB / 0.9812 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001031/0.8045, allocations: 382.5 kB / 0.9815 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.8047, allocations: 11.92 kB / 0.9815 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.8048, allocations: 0 / 0.9815 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.8049, allocations: 0 / 0.9815 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.8049, allocations: 4 kB / 0.9815 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.526e-05/0.805, allocations: 4 kB / 0.9815 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.8051, allocations: 23.92 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.8053, allocations: 31.97 kB / 0.9816 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.8053, allocations: 11.94 kB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.8054, allocations: 7.922 kB / 0.9816 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.8054, allocations: 0 / 0.9816 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.8054, allocations: 4 kB / 0.9816 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.8054, allocations: 3.938 kB / 0.9816 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.8055, allocations: 37.7 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.519e-05/0.8056, allocations: 39.88 kB / 0.9817 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8056, allocations: 0 / 0.9817 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8056, allocations: 0 / 0.9817 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8056, allocations: 0 / 0.9817 GB, free: 5.656 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.0004045/0.806, allocations: 337.5 kB / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.8061, allocations: 12.03 kB / 0.982 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.8061, allocations: 30.56 kB / 0.9821 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.8062, allocations: 11.94 kB / 0.9821 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.8064, allocations: 190.8 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.8064, allocations: 4 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.8064, allocations: 8 kB / 0.9823 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.8066, allocations: 85.59 kB / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8066, allocations: 0 / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8066, allocations: 0 / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8067, allocations: 0 / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.8068, allocations: 51.91 kB / 0.9824 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.8073, allocations: 495.1 kB / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.8074, allocations: 169.1 kB / 0.983 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.8074, allocations: 80.14 kB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.8074, allocations: 75.28 kB / 0.9832 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.8075, allocations: 105.8 kB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/0.8075, allocations: 4 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.443e-05/0.8076, allocations: 29.7 kB / 0.9833 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.8076, allocations: 126.7 kB / 0.9834 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.8078, allocations: 178.7 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.8078, allocations: 25.7 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.8079, allocations: 92.14 kB / 0.9837 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.8079, allocations: 0 / 0.9837 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.8079, allocations: 3.938 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.808, allocations: 326.8 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.8081, allocations: 8 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.8081, allocations: 7.984 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.8081, allocations: 8 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8081, allocations: 0 / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.8083, allocations: 53.58 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8083, allocations: 8 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8083, allocations: 0 / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.8083, allocations: 0 / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.8084, allocations: 4.094 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8084, allocations: 4 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.8084, allocations: 4 kB / 0.9841 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.8084, allocations: 0 / 0.9841 GB, free: 2.934 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.0001245/0.8085, allocations: 197.1 kB / 0.9843 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.8086, allocations: 112.8 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.8087, allocations: 116.8 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-05/0.8087, allocations: 186.5 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.925e-05/0.8088, allocations: 180.4 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.8089, allocations: 180.2 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.8091, allocations: 429.1 kB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.8091, allocations: 108.9 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.8092, allocations: 104.9 kB / 0.9857 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/0.8092, allocations: 184.3 kB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.8093, allocations: 176.3 kB / 0.986 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.893e-05/0.8094, allocations: 184.2 kB / 0.9862 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.598e-05/0.8095, allocations: 184.2 kB / 0.9864 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.8096, allocations: 311.6 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8097, allocations: 194 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.8098, allocations: 176.3 kB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.8099, allocations: 105 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.81, allocations: 180.2 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.8101, allocations: 105 kB / 0.9874 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001028/0.8102, allocations: 140.9 kB / 0.9875 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8102, allocations: 0 / 0.9875 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002169/0.8104, allocations: 8 kB / 0.9875 GB, free: 15.23 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.0005572/0.811, allocations: 0.8129 MB / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.8111, allocations: 16 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8111, allocations: 0 / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-06/0.8111, allocations: 3.984 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.8116, allocations: 0.5224 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.8125, allocations: 0.5922 MB / 0.9894 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.8129, allocations: 0.6965 MB / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.8129, allocations: 4 kB / 0.9901 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.8129, allocations: 19.44 kB / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.813, allocations: 0 / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.8244, allocations: 1.393 MB / 0.9915 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.8246, allocations: 204.8 kB / 0.9917 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.593, allocations: 0 / 0.9917 GB, free: 10.97 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat