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.001075/0.001075, allocations: 108 kB / 16.36 MB, free: 5.824 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.001009/0.001009, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.19 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2601, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001925/0.262, allocations: 0.6933 MB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.2628, allocations: 0.7884 MB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.2628, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.2628, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.2629, allocations: 7.938 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.263, allocations: 7.984 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.263, allocations: 23.92 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.2631, allocations: 7.984 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.2632, allocations: 19.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.2632, allocations: 4 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2633, allocations: 4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.2633, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.2633, allocations: 11.92 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.2633, allocations: 4 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.787e-05/0.2634, allocations: 19.91 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2634, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2634, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2634, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 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.0003847/0.2638, allocations: 343.5 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2638, allocations: 8.031 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.2639, allocations: 4.844 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.264, allocations: 168.4 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.264, allocations: 4.312 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.264, allocations: 384 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2642, allocations: 50.23 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2642, allocations: 3.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2642, allocations: 7.938 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2642, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.2644, allocations: 35.95 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.2647, allocations: 260.9 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.2648, allocations: 42.5 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.2649, allocations: 20.84 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2649, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.265, allocations: 34.56 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.265, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002985/0.2653, allocations: 77.73 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2653, allocations: 55.34 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.2654, allocations: 101.8 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2654, allocations: 29.7 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2655, allocations: 84.05 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.2655, allocations: 0 / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.2655, allocations: 9.719 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.2656, allocations: 318.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.2657, allocations: 16.02 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.2657, allocations: 15.97 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2659, allocations: 36.77 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2659, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/0.2661, allocations: 69.66 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2661, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2661, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2661, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2663, allocations: 19.97 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2663, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.2663, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2663, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.2664, allocations: 125.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.2664, allocations: 3.906 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.2665, allocations: 3.125 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2665, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2665, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2665, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2666, allocations: 165.6 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2666, allocations: 3.938 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2668, allocations: 23.97 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2668, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2668, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2668, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2668, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.267, allocations: 163.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.2671, allocations: 77.11 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2671, allocations: 3.984 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.2672, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2672, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2672, allocations: 7.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.2673, allocations: 79.27 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2673, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.2675, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.771e-05/0.2676, allocations: 103.3 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2678, allocations: 27.97 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2678, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.2679, allocations: 27.91 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2681, allocations: 3.938 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.2684, allocations: 107.6 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.2686, allocations: 0.6729 MB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.2686, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.2687, allocations: 7.438 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.2687, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.002201/0.2709, allocations: 422.3 kB / 1.032 GB, free: 12.23 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches