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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, 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.00135/0.00135, 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.352/1.352, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7001, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.000671/0.7008, allocations: 384.5 kB / 0.9539 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.7015, allocations: 0.7899 MB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.7015, allocations: 4 kB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.7016, allocations: 3.938 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.7016, allocations: 9.547 kB / 0.9547 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.7017, allocations: 5.109 kB / 0.9547 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.7018, allocations: 8.344 kB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.7019, allocations: 10.17 kB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.702, allocations: 12.02 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.702, allocations: 6.5 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.702, allocations: 1.125 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.702, allocations: 5.469 kB / 0.9547 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.702, allocations: 3.984 kB / 0.9547 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.7021, allocations: 27.02 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.855e-05/0.7021, allocations: 15.09 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.7021, allocations: 3.938 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7021, allocations: 0 / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7022, allocations: 0.75 kB / 0.9548 GB, free: 7.109 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.0003586/0.7025, allocations: 342.2 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7026, allocations: 8.344 kB / 0.9551 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.7026, allocations: 12.89 kB / 0.9551 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.7027, allocations: 160.5 kB / 0.9553 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.7027, allocations: 1.531 kB / 0.9553 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.7027, allocations: 1.156 kB / 0.9553 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.7029, allocations: 53.7 kB / 0.9553 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7029, allocations: 4 kB / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.7029, allocations: 0 / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7029, allocations: 0.6562 kB / 0.9553 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.7031, allocations: 48.78 kB / 0.9554 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.7034, allocations: 249 kB / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.7035, allocations: 43.8 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.7036, allocations: 0 / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7036, allocations: 35.59 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.7036, allocations: 3.984 kB / 0.9557 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.7039, allocations: 107.5 kB / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.704, allocations: 51.53 kB / 0.9559 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.704, allocations: 103.5 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.704, allocations: 25.7 kB / 0.956 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.7041, allocations: 85.16 kB / 0.9561 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.7041, allocations: 17.08 kB / 0.9561 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-06/0.7041, allocations: 0 / 0.9561 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.7042, allocations: 312 kB / 0.9564 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.7042, allocations: 21.61 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.7043, allocations: 22.36 kB / 0.9564 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.7044, allocations: 22.14 kB / 0.9564 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7044, allocations: 3.984 kB / 0.9564 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.7046, allocations: 78.08 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7046, allocations: 5.125 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7047, allocations: 1.25 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.7047, allocations: 0 / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.7048, allocations: 12.52 kB / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7048, allocations: 7.984 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.7048, allocations: 10.14 kB / 0.9566 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.7048, allocations: 1.438 kB / 0.9566 GB, free: 5.332 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 4.776e-05/0.7049, allocations: 106.9 kB / 0.9567 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.7049, allocations: 1.469 kB / 0.9567 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.705, allocations: 12.44 kB / 0.9567 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.705, allocations: 0 / 0.9567 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.705, allocations: 5.281 kB / 0.9567 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.705, allocations: 3.953 kB / 0.9567 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.7051, allocations: 157.9 kB / 0.9568 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7051, allocations: 0 / 0.9568 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.7052, allocations: 17.14 kB / 0.9568 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7052, allocations: 0 / 0.9568 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.7052, allocations: 5.469 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7052, allocations: 0 / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7052, allocations: 0 / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.7054, allocations: 180.2 kB / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.7054, allocations: 82.3 kB / 0.9571 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.7054, allocations: 1.156 kB / 0.9571 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.7055, allocations: 14.11 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.7056, allocations: 1.094 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.7056, allocations: 1.219 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.764e-05/0.7056, allocations: 77.94 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7056, allocations: 0 / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002144/0.7058, allocations: 3.906 kB / 0.9572 GB, free: 4.648 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.0001033/0.7059, allocations: 109.5 kB / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.7061, allocations: 47.03 kB / 0.9573 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7061, allocations: 0 / 0.9573 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.7062, allocations: 28.17 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.7064, allocations: 10.14 kB / 0.9574 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.7067, allocations: 95.72 kB / 0.9575 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.7068, allocations: 0.6825 MB / 0.9581 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.7068, allocations: 0 / 0.9581 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.7068, allocations: 8.469 kB / 0.9582 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7068, allocations: 4.062 kB / 0.9582 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.0021/0.7089, allocations: 352.2 kB / 0.9585 GB, free: 3.512 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches