Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.001316/0.001316, allocations: 99.55 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.001705/0.001705, 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.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.916/2.916, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006304, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9463/0.947, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0008195/0.9479, allocations: 390.5 kB / 0.9813 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.9488, allocations: 0.7948 MB / 0.982 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.9488, allocations: 4 kB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.9488, allocations: 3.938 kB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.9489, allocations: 0 / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.949, allocations: 8 kB / 0.9821 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.9491, allocations: 15.97 kB / 0.9821 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.9492, allocations: 4 kB / 0.9821 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.9492, allocations: 11.92 kB / 0.9821 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.9493, allocations: 8 kB / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.9493, allocations: 0 / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.9493, allocations: 0 / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.9493, allocations: 7.969 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.9494, allocations: 29.7 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.089e-05/0.9494, allocations: 19.91 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.9494, allocations: 0 / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9494, allocations: 4 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.9494, allocations: 0 / 0.9821 GB, free: 5 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.0004138/0.9499, allocations: 341.5 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9499, allocations: 8.031 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.9499, allocations: 30.56 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.95, allocations: 3.938 kB / 0.9825 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.9501, allocations: 167.1 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.9501, allocations: 4 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.9501, allocations: 0 / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.9503, allocations: 57.62 kB / 0.9827 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.9503, allocations: 0 / 0.9827 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.9503, allocations: 0 / 0.9827 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.9503, allocations: 4 kB / 0.9827 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.9505, allocations: 51.89 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.9509, allocations: 244.9 kB / 0.983 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.951, allocations: 50.5 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.951, allocations: 0 / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.9511, allocations: 30.56 kB / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.9511, allocations: 0 / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003754/0.9514, allocations: 105.6 kB / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.9515, allocations: 51.41 kB / 0.9832 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.9516, allocations: 93.86 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.9516, allocations: 25.7 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.9517, allocations: 92.27 kB / 0.9835 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.9517, allocations: 11.83 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.9517, allocations: 0 / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9518, allocations: 310.8 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.9519, allocations: 23.98 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.952, allocations: 19.98 kB / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.9521, allocations: 27.97 kB / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9521, allocations: 0 / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.9523, allocations: 81.62 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9523, allocations: 6.031 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9523, allocations: 0 / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.9523, allocations: 0 / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.9524, allocations: 11.98 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9524, allocations: 4 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.9525, allocations: 12.02 kB / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.9525, allocations: 3.938 kB / 0.9839 GB, free: 2.941 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 7.8e-05/0.9526, allocations: 113.8 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.9526, allocations: 3.953 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.9526, allocations: 3.125 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.9527, allocations: 0 / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9527, allocations: 4 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9527, allocations: 0 / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.9528, allocations: 157.7 kB / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9528, allocations: 4.188 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.9529, allocations: 15.92 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9529, allocations: 0 / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.9529, allocations: 7.938 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.953, allocations: 0 / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.953, allocations: 0 / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.9532, allocations: 187.4 kB / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.9533, allocations: 77.11 kB / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.9533, allocations: 0 / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.9534, allocations: 15.94 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.9534, allocations: 0 / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.9534, allocations: 4.031 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.9535, allocations: 83.28 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9535, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002029/0.9537, allocations: 4 kB / 0.9846 GB, free: 2.184 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.000542/0.9542, allocations: 0.7085 MB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.9544, allocations: 48 kB / 0.9853 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9544, allocations: 0 / 0.9853 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.9545, allocations: 23.98 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.9548, allocations: 7.938 kB / 0.9854 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.9551, allocations: 142.4 kB / 0.9855 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.9554, allocations: 0.6809 MB / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.9554, allocations: 0 / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.9555, allocations: 7.438 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9555, allocations: 0 / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/1.259, allocations: 0.9903 MB / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/1.259, allocations: 195.6 kB / 0.9873 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.581, allocations: 0 / 0.9873 GB, free: 15.37 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat