Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_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.0009881/0.0009881, allocations: 100.2 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.0009647/0.0009649, 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.402/1.402, 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 9.1.1-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7876, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0007422/0.7883, allocations: 384.2 kB / 0.954 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.7892, allocations: 0.7968 MB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.7892, allocations: 1.469 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.7893, allocations: 0 / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.7893, allocations: 11.98 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.7895, allocations: 2.344 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.7895, allocations: 11.77 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7896, allocations: 11.67 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.7897, allocations: 6.25 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.7897, allocations: 6.516 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.7898, allocations: 1.594 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.7898, allocations: 1.25 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.7898, allocations: 7.938 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.7898, allocations: 26.95 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.386e-05/0.7899, allocations: 19.45 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7899, allocations: 0 / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7899, allocations: 0 / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.7899, allocations: 5.281 kB / 0.9549 GB, free: 7.066 MB / 0.7169 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.000397/0.7903, allocations: 332.8 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7904, allocations: 9.938 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.7904, allocations: 34.55 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.7905, allocations: 9.391 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.7905, allocations: 160.5 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7906, allocations: 1.344 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.7906, allocations: 0.6875 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.7908, allocations: 57.83 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7908, allocations: 0 / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.7908, allocations: 1 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7908, allocations: 0 / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.791, allocations: 56.78 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.7913, allocations: 245.1 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.7914, allocations: 39.47 kB / 0.9558 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.7915, allocations: 1.25 kB / 0.9558 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.7915, allocations: 42.48 kB / 0.9558 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.7915, allocations: 1.125 kB / 0.9558 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003658/0.7919, allocations: 98.89 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.7919, allocations: 51.41 kB / 0.956 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.792, allocations: 106.5 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.792, allocations: 26.95 kB / 0.9561 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.792, allocations: 93.28 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.7921, allocations: 7.844 kB / 0.9562 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.7921, allocations: 1.281 kB / 0.9562 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.7921, allocations: 316.1 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.7922, allocations: 21.45 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.7923, allocations: 25.42 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.7924, allocations: 23.05 kB / 0.9566 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7924, allocations: 0 / 0.9566 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.7926, allocations: 77.44 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7926, allocations: 5.562 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7926, allocations: 0 / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7927, allocations: 1.438 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.7928, allocations: 16.59 kB / 0.9566 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.7928, allocations: 3.984 kB / 0.9567 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.7928, allocations: 13.89 kB / 0.9567 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.7928, allocations: 1.625 kB / 0.9567 GB, free: 5.25 MB / 0.7169 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 5.589e-05/0.7929, allocations: 108.5 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.7929, allocations: 5.594 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.793, allocations: 3.125 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.793, allocations: 1.219 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.793, allocations: 11.89 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.793, allocations: 0 / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.7931, allocations: 158.2 kB / 0.9569 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7931, allocations: 4 kB / 0.9569 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.7932, allocations: 13.16 kB / 0.957 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7932, allocations: 0 / 0.957 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7932, allocations: 4.719 kB / 0.957 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7932, allocations: 3.984 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7932, allocations: 1.094 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.7935, allocations: 176.5 kB / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.7935, allocations: 82.25 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.7935, allocations: 0 / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.7936, allocations: 6.469 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.7936, allocations: 9.516 kB / 0.9572 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.7936, allocations: 1.281 kB / 0.9572 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.7937, allocations: 81.53 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7937, allocations: 0 / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002123/0.7939, allocations: 8.109 kB / 0.9573 GB, free: 4.559 MB / 0.7169 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.0003997/0.7943, allocations: 0.7049 MB / 0.958 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.7945, allocations: 51.05 kB / 0.9581 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7945, allocations: 0 / 0.9581 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.7946, allocations: 24.48 kB / 0.9581 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.7948, allocations: 6.031 kB / 0.9581 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.7952, allocations: 133.7 kB / 0.9582 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.7953, allocations: 0.6785 MB / 0.9589 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.7954, allocations: 1.094 kB / 0.9589 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.7954, allocations: 12.39 kB / 0.9589 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7954, allocations: 0 / 0.9589 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.8067, allocations: 0.9925 MB / 0.9599 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.8069, allocations: 183.8 kB / 0.96 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.433, allocations: 0 / 0.96 GB, free: 2.285 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat