Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009436, 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.001052/0.001053, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.855, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0009689/0.856, allocations: 408.9 kB / 1.021 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.8569, allocations: 0.7768 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.8569, allocations: 4 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.857, allocations: 0 / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.857, allocations: 4 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.8571, allocations: 3.984 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.8572, allocations: 19.86 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.8573, allocations: 7.984 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.8573, allocations: 8 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.8574, allocations: 11.92 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8574, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-06/0.8574, allocations: 4 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.8574, allocations: 7.984 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.8575, allocations: 25.7 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.315e-05/0.8575, allocations: 11.97 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.8575, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8575, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.8575, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 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.000475/0.858, allocations: 345.3 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.8581, allocations: 15.98 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.8581, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.8583, allocations: 163.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.8583, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.8583, allocations: 7.938 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.8585, allocations: 61.62 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8585, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8585, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8585, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.8587, allocations: 43.91 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.8591, allocations: 276.8 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.8592, allocations: 38.5 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.8592, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.8593, allocations: 38.62 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8593, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000335/0.8596, allocations: 93.72 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.8597, allocations: 51.41 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.8598, allocations: 101.8 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.8598, allocations: 29.7 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.8598, allocations: 84.12 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.8599, allocations: 0 / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.8599, allocations: 0 / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.86, allocations: 318.9 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.8601, allocations: 19.98 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.8602, allocations: 15.98 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.933e-05/0.8602, allocations: 24.05 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8603, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001823/0.8604, allocations: 81.52 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.8605, allocations: 4 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.8605, allocations: 7.969 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.8605, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.8607, allocations: 35.95 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.8607, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.8608, allocations: 12 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.8608, allocations: 3.938 kB / 1.024 GB, free: 13.75 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.485e-05/0.8609, allocations: 109.8 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.8609, allocations: 7.953 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.8609, allocations: 7.125 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.8609, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8609, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.8609, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.8611, allocations: 149.7 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8611, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.8613, allocations: 43.95 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8613, allocations: 7.953 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.8613, allocations: 3.938 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8613, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8613, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.8615, allocations: 163.5 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.8616, allocations: 81.11 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.8616, allocations: 3.953 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.8617, allocations: 12.02 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.8617, allocations: 7.938 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.8617, allocations: 0 / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.8618, allocations: 83.28 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8618, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001982/0.862, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0001201/0.8621, allocations: 107.2 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.8623, allocations: 39.97 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.8623, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.8624, allocations: 20.05 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.8626, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.8629, allocations: 102.7 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8632, allocations: 0.6809 MB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.8632, allocations: 0 / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.8632, allocations: 11.5 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8632, allocations: 4 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002386/0.8656, allocations: 328.1 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches