Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback",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.001223/0.001223, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001691/0.001691, 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.528/2.528, allocations: 409.4 MB / 0.684 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 8 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7225, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback): time 0.0009581/0.7235, allocations: 445 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.7244, allocations: 0.7985 MB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.7245, allocations: 0 / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.7245, allocations: 0 / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.7246, allocations: 7.922 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.815e-05/0.7246, allocations: 8 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.7247, allocations: 39.84 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.7248, allocations: 11.98 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.7248, allocations: 19.92 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.7249, allocations: 15.92 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.7249, allocations: 0 / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.7249, allocations: 4 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.7249, allocations: 3.984 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.725, allocations: 33.7 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.397e-05/0.725, allocations: 23.94 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.725, allocations: 3.938 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.725, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.7251, allocations: 3.938 kB / 0.9825 GB, free: 4.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004564/0.7255, allocations: 373.5 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7256, allocations: 12.03 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.7256, allocations: 38.5 kB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.7256, allocations: 3.906 kB / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.7258, allocations: 167.1 kB / 0.9831 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.7258, allocations: 0 / 0.9831 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.7258, allocations: 4 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.726, allocations: 81.59 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7261, allocations: 0 / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.7261, allocations: 8 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7261, allocations: 3.984 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.7264, allocations: 83.88 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.7267, allocations: 272.9 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.7269, allocations: 74.48 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.7271, allocations: 52.91 kB / 0.9836 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.7271, allocations: 0 / 0.9836 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.7271, allocations: 38.5 kB / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7271, allocations: 0 / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004883/0.7276, allocations: 153.6 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.7277, allocations: 55.41 kB / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.7278, allocations: 113.8 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.7278, allocations: 25.7 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.7278, allocations: 96.06 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.7278, allocations: 7.812 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.7279, allocations: 0 / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.728, allocations: 310.8 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.7282, allocations: 47.95 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.7283, allocations: 39.97 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.7285, allocations: 51.89 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7285, allocations: 0 / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/0.7288, allocations: 117.6 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7288, allocations: 8 kB / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7288, allocations: 0 / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.7288, allocations: 0 / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7289, allocations: 27.98 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.7289, allocations: 0 / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.729, allocations: 15.98 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.729, allocations: 0 / 0.9847 GB, free: 2.367 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 (3): * Single equations (assignments): 3 * 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 7.767e-05/0.7291, allocations: 117.8 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.7291, allocations: 11.86 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7292, allocations: 11.91 kB / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7292, allocations: 3.938 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7292, allocations: 4 kB / 0.9848 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7292, allocations: 0 / 0.9848 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.7294, allocations: 165.7 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7294, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.7295, allocations: 23.91 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7295, allocations: 7.953 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.7295, allocations: 4 kB / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7295, allocations: 0 / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7295, allocations: 0 / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.7299, allocations: 211.8 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.7299, allocations: 85.05 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.7299, allocations: 11.94 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.73, allocations: 15.98 kB / 0.9853 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.7301, allocations: 4 kB / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.7301, allocations: 0 / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.7302, allocations: 91.27 kB / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7302, allocations: 0 / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002117/0.7304, allocations: 4 kB / 0.9854 GB, free: 1.512 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 (3): * Single equations (assignments): 3 * 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.0006853/0.7311, allocations: 0.757 MB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.7314, allocations: 87.92 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7314, allocations: 0 / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7316, allocations: 47.91 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.7319, allocations: 19.94 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.7324, allocations: 162.2 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.7327, allocations: 0.677 MB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.7327, allocations: 7.984 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.7328, allocations: 11.44 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of SimCode: time 4.5e-07/0.7328, allocations: 4 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.7441, allocations: 1.3 MB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.7444, allocations: 207.2 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.458, allocations: 4 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat does not exist to compare? outputFormat=mat