Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.0009037/0.0009037, 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.0009686/0.0009687, allocations: 177.3 kB / 15.95 MB, free: 216 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.893/1.893, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.079/3.079, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 15.98 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9932, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001093/0.9944, allocations: 394.5 kB / 0.9813 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.9955, allocations: 0.8065 MB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.9956, allocations: 0 / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.9956, allocations: 0 / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.9957, allocations: 3.984 kB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.9959, allocations: 11.98 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.996, allocations: 11.98 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.9961, allocations: 3.984 kB / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.9962, allocations: 11.94 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.9963, allocations: 7.984 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.9963, allocations: 4 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.9963, allocations: 4 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.9964, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.9964, allocations: 33.64 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.9965, allocations: 11.97 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.9965, allocations: 0 / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.075e-06/0.9965, allocations: 0 / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.9965, allocations: 0 / 0.9821 GB, free: 4.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006348/0.9972, allocations: 345.5 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.9972, allocations: 8.031 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.9973, allocations: 38.56 kB / 0.9825 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.9973, allocations: 0 / 0.9825 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.9975, allocations: 163.1 kB / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.9975, allocations: 0 / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9976, allocations: 7.984 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.9978, allocations: 61.62 kB / 0.9827 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.9978, allocations: 3.938 kB / 0.9827 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9978, allocations: 0 / 0.9827 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9979, allocations: 0 / 0.9827 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.998, allocations: 39.97 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.9985, allocations: 256.9 kB / 0.983 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.9986, allocations: 42.52 kB / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.9987, allocations: 4.062 kB / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.9987, allocations: 38.5 kB / 0.9831 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.9987, allocations: 0 / 0.9831 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003806/0.9991, allocations: 93.64 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.9992, allocations: 59.47 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.9993, allocations: 105.8 kB / 0.9834 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.9993, allocations: 25.7 kB / 0.9834 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.9994, allocations: 84.08 kB / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.9994, allocations: 3.906 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.9994, allocations: 0 / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.9996, allocations: 318.8 kB / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.9997, allocations: 19.98 kB / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.9998, allocations: 27.97 kB / 0.9838 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.9998, allocations: 19.92 kB / 0.9838 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9999, allocations: 4.062 kB / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/1, allocations: 77.61 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1, allocations: 8 kB / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1, allocations: 0 / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1, allocations: 0 / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/1, allocations: 12.03 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/1, allocations: 3.984 kB / 0.9839 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/1, allocations: 12 kB / 0.9839 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/1, allocations: 3.938 kB / 0.984 GB, free: 2.891 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 (2): * Single equations (assignments): 2 * 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 9.605e-05/1, allocations: 107.4 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/1, allocations: 7.953 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.001, allocations: 88.7 kB / 0.9841 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.001, allocations: 4 kB / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.001, allocations: 0 / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.001, allocations: 0 / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/1.001, allocations: 157.6 kB / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.001, allocations: 0 / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/1.001, allocations: 16.02 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.001, allocations: 0 / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.001, allocations: 3.953 kB / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.001, allocations: 4 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.001, allocations: 4 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/1.001, allocations: 175.5 kB / 0.9845 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/1.001, allocations: 77.11 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.001, allocations: 0 / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/1.001, allocations: 15.94 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.001, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.002, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.172e-05/1.002, allocations: 91.47 kB / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000209/1.002, allocations: 4 kB / 0.9847 GB, free: 2.055 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 (2): * Single equations (assignments): 2 * 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.0007032/1.003, allocations: 0.7046 MB / 0.9854 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002471/1.003, allocations: 55.94 kB / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.003, allocations: 0 / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.003, allocations: 23.97 kB / 0.9854 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/1.003, allocations: 3.953 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/1.004, allocations: 148.7 kB / 0.9856 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.004, allocations: 0.6809 MB / 0.9862 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.497e-05/1.004, allocations: 4 kB / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/1.004, allocations: 11.44 kB / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/1.004, allocations: 0 / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/1.016, allocations: 0.9984 MB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.016, allocations: 182.5 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.274, allocations: 3.938 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat