Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.001265/0.001265, allocations: 99.86 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.001498/0.001498, 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.695/1.695, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.453/3.453, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8321, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0009213/0.8331, allocations: 390.5 kB / 0.9813 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.8344, allocations: 0.7948 MB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.8344, allocations: 0 / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.8344, allocations: 7.938 kB / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.8345, allocations: 4 kB / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.8346, allocations: 7.984 kB / 0.9821 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.8347, allocations: 11.98 kB / 0.9821 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.8348, allocations: 4 kB / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.8349, allocations: 11.92 kB / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.835, allocations: 7.984 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.835, allocations: 4 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.835, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.835, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.8351, allocations: 33.64 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.92e-05/0.8351, allocations: 19.95 kB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.8351, allocations: 0 / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8351, allocations: 0 / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.8352, allocations: 0 / 0.9821 GB, free: 4.996 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.0004697/0.8356, allocations: 337.6 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/0.8357, allocations: 15.97 kB / 0.9825 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.8358, allocations: 38.56 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.8358, allocations: 3.938 kB / 0.9825 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.836, allocations: 163.1 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.836, allocations: 0 / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.8361, allocations: 3.984 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8364, allocations: 57.62 kB / 0.9827 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8364, allocations: 0 / 0.9827 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.8364, allocations: 0 / 0.9827 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.8364, allocations: 4 kB / 0.9827 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.8367, allocations: 47.89 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.8372, allocations: 244.8 kB / 0.983 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.8374, allocations: 54.55 kB / 0.9831 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.8375, allocations: 0 / 0.9831 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.8375, allocations: 30.56 kB / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.8375, allocations: 0 / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0005797/0.8381, allocations: 105.6 kB / 0.9832 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8382, allocations: 51.41 kB / 0.9832 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.8383, allocations: 97.86 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.8383, allocations: 29.83 kB / 0.9834 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.8384, allocations: 84.12 kB / 0.9834 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.8384, allocations: 11.84 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.8384, allocations: 0 / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8386, allocations: 314.8 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8388, allocations: 15.98 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.8389, allocations: 31.97 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.8391, allocations: 19.98 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8391, allocations: 0 / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002926/0.8394, allocations: 81.62 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8394, allocations: 7.984 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.8394, allocations: 0 / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8394, allocations: 0 / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.8396, allocations: 12 kB / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.8396, allocations: 0 / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.8397, allocations: 16.02 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.8397, allocations: 0 / 0.9839 GB, free: 2.93 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 0.0001047/0.8398, allocations: 117.8 kB / 0.984 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.8399, allocations: 3.953 kB / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.8402, allocations: 88.72 kB / 0.9841 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8402, allocations: 3.984 kB / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8402, allocations: 0 / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.8403, allocations: 0 / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.8405, allocations: 157.6 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8405, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.8406, allocations: 15.92 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8406, allocations: 0 / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.8406, allocations: 11.98 kB / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8407, allocations: 0 / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8407, allocations: 0 / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.841, allocations: 167.5 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.8411, allocations: 77.11 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.8411, allocations: 8 kB / 0.9846 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.8413, allocations: 11.94 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.8413, allocations: 3.938 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.8413, allocations: 4 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.8414, allocations: 79.45 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8414, allocations: 0 / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003706/0.8418, allocations: 8.031 kB / 0.9847 GB, free: 2.09 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.0007131/0.8425, allocations: 0.7008 MB / 0.9853 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.8428, allocations: 43.97 kB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8428, allocations: 3.938 kB / 0.9854 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.843, allocations: 32.03 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.8432, allocations: 7.953 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.8438, allocations: 134.3 kB / 0.9856 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.8442, allocations: 0.677 MB / 0.9862 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.8443, allocations: 4.062 kB / 0.9862 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.8443, allocations: 11.44 kB / 0.9862 GB, free: 388 kB / 0.7325 GB Notification: Performance of SimCode: time 5.72e-07/0.8443, allocations: 4 kB / 0.9862 GB, free: 384 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.8571, allocations: 1.007 MB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8573, allocations: 184.1 kB / 0.9874 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.239, allocations: 0 / 0.9874 GB, free: 15.26 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat does not exist to compare? outputFormat=mat