Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_9_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_9_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.001217/0.001217, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.00143/0.00143, allocations: 177.3 kB / 15.95 MB, free: 208 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.331/2.331, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7025, allocations: 142.3 MB / 0.9535 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001105/0.7036, allocations: 395.1 kB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.7046, allocations: 0.7939 MB / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.7046, allocations: 1.5 kB / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.7047, allocations: 0 / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.7047, allocations: 1.344 kB / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.829e-05/0.7048, allocations: 0 / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.7049, allocations: 16.41 kB / 0.9547 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.705, allocations: 10.69 kB / 0.9547 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.7051, allocations: 10.8 kB / 0.9547 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.7051, allocations: 6.812 kB / 0.9547 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.7051, allocations: 0.7188 kB / 0.9547 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.7051, allocations: 1 kB / 0.9547 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.7052, allocations: 4.922 kB / 0.9547 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.7052, allocations: 31.11 kB / 0.9548 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.192e-05/0.7053, allocations: 19.33 kB / 0.9548 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7053, allocations: 3.938 kB / 0.9548 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7053, allocations: 0 / 0.9548 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7053, allocations: 4 kB / 0.9548 GB, free: 7.336 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.0003843/0.7057, allocations: 338.9 kB / 0.9551 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7057, allocations: 8.594 kB / 0.9551 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.7058, allocations: 4.953 kB / 0.9551 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.7059, allocations: 160.1 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7059, allocations: 1.094 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.7059, allocations: 1.188 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.7061, allocations: 61.38 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7061, allocations: 1.125 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.7061, allocations: 0 / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7061, allocations: 0 / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.7063, allocations: 55.81 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.7067, allocations: 257 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7068, allocations: 44.28 kB / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.7068, allocations: 0 / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.7068, allocations: 32.19 kB / 0.9557 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.7068, allocations: 3.938 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.00034/0.7072, allocations: 98.73 kB / 0.9558 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.7072, allocations: 52.59 kB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.7073, allocations: 101.8 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.7073, allocations: 26.89 kB / 0.956 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.7073, allocations: 89.64 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.7073, allocations: 0 / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.7073, allocations: 4 kB / 0.9561 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.7074, allocations: 316 kB / 0.9564 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.7075, allocations: 17.33 kB / 0.9564 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.7076, allocations: 25.7 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.7076, allocations: 16.8 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7076, allocations: 3.938 kB / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001742/0.7078, allocations: 78.88 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7079, allocations: 5.062 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.7079, allocations: 1.188 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.7079, allocations: 0 / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.7081, allocations: 40.8 kB / 0.9566 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.7081, allocations: 0 / 0.9566 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.7081, allocations: 14.02 kB / 0.9566 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.7081, allocations: 0.75 kB / 0.9566 GB, free: 5.562 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 (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 4.333e-05/0.7082, allocations: 106.9 kB / 0.9567 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.7082, allocations: 2.281 kB / 0.9567 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.7082, allocations: 7.125 kB / 0.9567 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7082, allocations: 5.031 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7083, allocations: 11.94 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7083, allocations: 0 / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.7084, allocations: 154 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7084, allocations: 0 / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.7085, allocations: 33.34 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7085, allocations: 4 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.7086, allocations: 0 / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7086, allocations: 9.109 kB / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7086, allocations: 0 / 0.9569 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.7088, allocations: 166.2 kB / 0.957 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.7088, allocations: 81.09 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7088, allocations: 1.188 kB / 0.9571 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.7089, allocations: 10.16 kB / 0.9571 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.7089, allocations: 5.234 kB / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7089, allocations: 0 / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.7089, allocations: 86.92 kB / 0.9572 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.709, allocations: 0 / 0.9572 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000205/0.7092, allocations: 11.7 kB / 0.9572 GB, free: 4.867 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 (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 9.917e-05/0.7093, allocations: 96.41 kB / 0.9573 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.7095, allocations: 48.27 kB / 0.9574 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7095, allocations: 4.062 kB / 0.9574 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.7096, allocations: 18.08 kB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.7098, allocations: 2.156 kB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.71, allocations: 102.2 kB / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.7101, allocations: 0.6819 MB / 0.9582 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.7101, allocations: 1.062 kB / 0.9582 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.7101, allocations: 7.438 kB / 0.9582 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7101, allocations: 1.094 kB / 0.9582 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.001985/0.7121, allocations: 335.4 kB / 0.9585 GB, free: 3.75 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches