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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 179.5 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.827/1.827, allocations: 223.2 MB / 0.7948 GB, free: 18.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 104.2 kB / 0.9346 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 8.688 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 142.3 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.5247, allocations: 149.3 MB / 1.369 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.525, allocations: 87.94 kB / 1.369 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001426/0.5264, allocations: 0.618 MB / 1.369 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5265, allocations: 0 / 1.369 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5265, allocations: 0 / 1.369 GB, free: 3.352 MB / 0.8698 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.0003868/0.5269, allocations: 339.3 kB / 1.37 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5269, allocations: 8.031 kB / 1.37 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.527, allocations: 4 kB / 1.37 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5271, allocations: 170.9 kB / 1.37 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5271, allocations: 0 / 1.37 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.5271, allocations: 4 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.5273, allocations: 53.67 kB / 1.37 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5273, allocations: 0 / 1.37 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.5274, allocations: 4 kB / 1.37 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5274, allocations: 0 / 1.37 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.5275, allocations: 43.91 kB / 1.37 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.528, allocations: 271 kB / 1.37 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.5281, allocations: 34.56 kB / 1.37 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.5281, allocations: 0 / 1.37 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5282, allocations: 42.56 kB / 1.37 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.5282, allocations: 0 / 1.37 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003374/0.5285, allocations: 93.67 kB / 1.37 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5285, allocations: 51.41 kB / 1.37 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.5286, allocations: 100.9 kB / 1.371 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.5287, allocations: 25.7 kB / 1.371 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.5287, allocations: 88.05 kB / 1.371 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.5287, allocations: 0 / 1.371 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.5287, allocations: 4 kB / 1.371 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5289, allocations: 310.8 kB / 1.371 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.529, allocations: 20.02 kB / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.5291, allocations: 23.98 kB / 1.371 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.681e-05/0.5291, allocations: 19.97 kB / 1.371 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5291, allocations: 4.062 kB / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001734/0.5293, allocations: 69.61 kB / 1.371 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5293, allocations: 9.25 kB / 1.371 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5294, allocations: 4 kB / 1.371 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5294, allocations: 0 / 1.371 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.5295, allocations: 16.02 kB / 1.371 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5295, allocations: 0 / 1.371 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5295, allocations: 7.984 kB / 1.371 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.5296, allocations: 7.953 kB / 1.371 GB, free: 1.352 MB / 0.8698 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 8.671e-05/0.5297, allocations: 105.8 kB / 1.371 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.5297, allocations: 3.906 kB / 1.371 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.5297, allocations: 11.12 kB / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5297, allocations: 4.188 kB / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5297, allocations: 0 / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5297, allocations: 3.984 kB / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5299, allocations: 157.6 kB / 1.371 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5299, allocations: 0 / 1.371 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.53, allocations: 12 kB / 1.371 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.53, allocations: 3.938 kB / 1.371 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.53, allocations: 3.984 kB / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.53, allocations: 0 / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.53, allocations: 4 kB / 1.371 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.5302, allocations: 167.4 kB / 1.372 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.5303, allocations: 85.06 kB / 1.372 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.5303, allocations: 4 kB / 1.372 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.5304, allocations: 8 kB / 1.372 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.5305, allocations: 3.984 kB / 1.372 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5305, allocations: 0 / 1.372 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.5305, allocations: 83.28 kB / 1.372 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5305, allocations: 0 / 1.372 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001904/0.5307, allocations: 4 kB / 1.372 GB, free: 0.6055 MB / 0.8698 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.0001321/0.5309, allocations: 103 kB / 1.372 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.5311, allocations: 47.89 kB / 1.372 GB, free: 460 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5311, allocations: 0 / 1.372 GB, free: 460 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.5312, allocations: 24.05 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.5314, allocations: 4.812 kB / 1.372 GB, free: 432 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.5317, allocations: 108.6 kB / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.532, allocations: 0.6809 MB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.5321, allocations: 4.062 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.5321, allocations: 7.438 kB / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of SimCode: time 2e-07/0.5321, allocations: 0 / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of Templates: time 0.002076/0.5342, allocations: 331.7 kB / 1.373 GB, free: 15.24 MB / 0.8855 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