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.001278/0.001278, allocations: 100 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.001512/0.001512, 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.299/1.299, 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 10.0.0-master/package.mo): time 2.476/2.476, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.000311, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6717, allocations: 146.8 MB / 0.9809 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback): time 0.0008856/0.6727, allocations: 437 kB / 0.9813 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.6735, allocations: 0.7986 MB / 0.9821 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.6735, allocations: 4 kB / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.6736, allocations: 0 / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.6736, allocations: 15.92 kB / 0.9821 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.676e-05/0.6737, allocations: 4 kB / 0.9821 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.6738, allocations: 27.95 kB / 0.9821 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.6739, allocations: 7.984 kB / 0.9821 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.6739, allocations: 15.92 kB / 0.9822 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.674, allocations: 19.92 kB / 0.9822 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.674, allocations: 4 kB / 0.9822 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.674, allocations: 4 kB / 0.9822 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.674, allocations: 0 / 0.9822 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.6741, allocations: 29.7 kB / 0.9822 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.598e-05/0.6741, allocations: 31.86 kB / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6741, allocations: 0 / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6741, allocations: 0 / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6741, allocations: 0 / 0.9822 GB, free: 5.008 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.000484/0.6746, allocations: 373.5 kB / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6747, allocations: 11.97 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.6747, allocations: 46.5 kB / 0.9827 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.6748, allocations: 3.906 kB / 0.9827 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6749, allocations: 175 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.6749, allocations: 0 / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6749, allocations: 0 / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.6752, allocations: 85.61 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6752, allocations: 0 / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.6752, allocations: 0 / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6752, allocations: 3.984 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.6755, allocations: 87.92 kB / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.6758, allocations: 276.8 kB / 0.9833 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.676, allocations: 62.5 kB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.6761, allocations: 4 kB / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6761, allocations: 38.64 kB / 0.9834 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6761, allocations: 0 / 0.9834 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005234/0.6766, allocations: 157.5 kB / 0.9835 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6767, allocations: 59.41 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.6768, allocations: 105.8 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.6768, allocations: 25.7 kB / 0.9837 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.6768, allocations: 92.08 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.6769, allocations: 11.8 kB / 0.9838 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.6769, allocations: 0 / 0.9838 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.677, allocations: 314.8 kB / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.6771, allocations: 47.95 kB / 0.9841 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.6773, allocations: 39.97 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.6774, allocations: 43.97 kB / 0.9842 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6774, allocations: 0 / 0.9842 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003174/0.6778, allocations: 125.5 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6778, allocations: 8 kB / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6778, allocations: 0 / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.6778, allocations: 0 / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.678, allocations: 23.98 kB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.678, allocations: 0 / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.6781, allocations: 15.98 kB / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.6781, allocations: 0 / 0.9844 GB, free: 2.594 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.804e-05/0.6782, allocations: 117.8 kB / 0.9845 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.6782, allocations: 19.78 kB / 0.9845 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.6782, allocations: 3.906 kB / 0.9845 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6782, allocations: 0 / 0.9845 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6782, allocations: 4 kB / 0.9845 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6782, allocations: 0 / 0.9845 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.6784, allocations: 165.7 kB / 0.9847 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6784, allocations: 0 / 0.9847 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.6785, allocations: 19.97 kB / 0.9847 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6785, allocations: 8 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.6785, allocations: 3.953 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6785, allocations: 0 / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6785, allocations: 0 / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.6789, allocations: 219.4 kB / 0.9849 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.679, allocations: 81.02 kB / 0.985 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.679, allocations: 4.359 kB / 0.985 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6791, allocations: 23.94 kB / 0.985 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.6791, allocations: 8 kB / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6792, allocations: 0 / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.6792, allocations: 87.27 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6792, allocations: 0 / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002067/0.6794, allocations: 8 kB / 0.9851 GB, free: 1.738 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.0006321/0.6801, allocations: 0.7592 MB / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.6804, allocations: 87.92 kB / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6804, allocations: 0 / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.6806, allocations: 43.97 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.6808, allocations: 15.94 kB / 0.986 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.6812, allocations: 166.2 kB / 0.9862 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6815, allocations: 0.6848 MB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.6815, allocations: 4 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.6816, allocations: 11.44 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.6816, allocations: 0 / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.6934, allocations: 1.292 MB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.6936, allocations: 200.4 kB / 0.9883 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.321, allocations: 0 / 0.9883 GB, free: 14.53 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