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.001128/0.001128, allocations: 86.72 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.001614/0.001614, 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.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.636/2.636, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003982, allocations: 16 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8254, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001007/0.8265, allocations: 394.4 kB / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.8274, allocations: 0.8041 MB / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.8274, allocations: 0 / 0.9823 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.8275, allocations: 3.938 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.8275, allocations: 0 / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.8277, allocations: 15.92 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.8278, allocations: 19.92 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.8279, allocations: 7.984 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.8279, allocations: 7.938 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.828, allocations: 7.984 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.828, allocations: 0 / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.828, allocations: 8 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.828, allocations: 4 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.8281, allocations: 29.64 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.605e-05/0.8281, allocations: 11.97 kB / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8281, allocations: 0 / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8281, allocations: 0 / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.8281, allocations: 0 / 0.9824 GB, free: 4.922 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.0004342/0.8286, allocations: 345.6 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8286, allocations: 12.03 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.8287, allocations: 30.56 kB / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.8287, allocations: 0 / 0.9828 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.8288, allocations: 163.1 kB / 0.983 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.8288, allocations: 4 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.8289, allocations: 0 / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.8291, allocations: 59.92 kB / 0.983 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8291, allocations: 4 kB / 0.983 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.8291, allocations: 0 / 0.983 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.8291, allocations: 0 / 0.983 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.8293, allocations: 43.91 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.8296, allocations: 252.9 kB / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.8297, allocations: 46.52 kB / 0.9833 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.8298, allocations: 24.91 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.8298, allocations: 8 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.8299, allocations: 42.48 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8299, allocations: 0 / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.8302, allocations: 93.66 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.8303, allocations: 59.33 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.8303, allocations: 101.9 kB / 0.9837 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.8304, allocations: 25.7 kB / 0.9837 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.8304, allocations: 84.08 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.8305, allocations: 3.906 kB / 0.9838 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.8305, allocations: 0 / 0.9838 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8306, allocations: 323 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.8307, allocations: 19.98 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.8307, allocations: 23.98 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.8308, allocations: 23.98 kB / 0.9841 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8308, allocations: 3.938 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.831, allocations: 77.61 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.831, allocations: 13.44 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.831, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8311, allocations: 192 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.8312, allocations: 11.98 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8312, allocations: 0 / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.8312, allocations: 11.98 kB / 0.9843 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8312, allocations: 0 / 0.9843 GB, free: 2.828 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 8.741e-05/0.8313, allocations: 113.8 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.8314, allocations: 7.938 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.8316, allocations: 84.72 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8316, allocations: 0 / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8317, allocations: 4 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8317, allocations: 4.031 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.8318, allocations: 165.5 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8318, allocations: 0 / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.8319, allocations: 8 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8319, allocations: 3.984 kB / 0.9846 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.8319, allocations: 3.953 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8319, allocations: 0 / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8319, allocations: 3.984 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.8322, allocations: 175.5 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.8322, allocations: 77.11 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.8322, allocations: 4 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.8323, allocations: 15.98 kB / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.8324, allocations: 7.922 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.8324, allocations: 0 / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.8324, allocations: 79.28 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8324, allocations: 0 / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002179/0.8326, allocations: 4 kB / 0.985 GB, free: 1.984 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.0005519/0.8332, allocations: 0.7008 MB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.8334, allocations: 55.92 kB / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8334, allocations: 0 / 0.9857 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.8335, allocations: 23.98 kB / 0.9857 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.8338, allocations: 5.625 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.8342, allocations: 148.2 kB / 0.9859 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.8345, allocations: 0.677 MB / 0.9866 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.8345, allocations: 3.938 kB / 0.9866 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.8345, allocations: 15.44 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8345, allocations: 0 / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.8456, allocations: 1.007 MB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.8458, allocations: 192.7 kB / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.596, allocations: 7.875 kB / 0.9877 GB, free: 15.14 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