Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001488/0.001488, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001592/0.001592, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 64.28 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001891/0.2734, allocations: 0.6775 MB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.2742, allocations: 0.7845 MB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2742, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.2742, allocations: 3.938 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.2743, allocations: 7.984 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.629e-05/0.2743, allocations: 4 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.2744, allocations: 27.86 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.2745, allocations: 8 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.2746, allocations: 11.98 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.2746, allocations: 11.92 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2746, allocations: 4 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-06/0.2746, allocations: 0 / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2747, allocations: 4 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.2747, allocations: 7.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.092e-05/0.2747, allocations: 19.95 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2748, allocations: 0 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2748, allocations: 0 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2748, allocations: 0 / 1.02 GB, free: 8.305 MB / 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.00038/0.2752, allocations: 355.3 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2752, allocations: 8.031 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2752, allocations: 4.844 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2753, allocations: 172.3 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2753, allocations: 384 / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2754, allocations: 4.375 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2755, allocations: 50.22 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2755, allocations: 4.188 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2756, allocations: 7.938 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2756, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2757, allocations: 27.97 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.2761, allocations: 260.9 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2762, allocations: 38.5 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.2763, allocations: 20.91 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2763, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2763, allocations: 30.56 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2763, allocations: 0 / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000307/0.2766, allocations: 81.58 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2767, allocations: 51.41 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.2768, allocations: 101.8 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2768, allocations: 29.7 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.2768, allocations: 84.05 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2768, allocations: 0 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.2769, allocations: 9.719 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.277, allocations: 323 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.2771, allocations: 15.97 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.2771, allocations: 19.98 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2773, allocations: 28.83 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2773, allocations: 3.938 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001685/0.2774, allocations: 69.66 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2775, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2775, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2775, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2777, allocations: 19.97 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2777, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.2777, allocations: 7.984 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.2777, allocations: 7.969 kB / 1.022 GB, free: 6.27 MB / 0.795 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.862e-05/0.2778, allocations: 118.4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.2778, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.2779, allocations: 3.125 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2779, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2779, allocations: 3.984 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2779, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.278, allocations: 157.6 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.278, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2782, allocations: 27.91 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2782, allocations: 0 / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2782, allocations: 7.984 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2782, allocations: 0 / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2782, allocations: 3.938 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2784, allocations: 159.4 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.2785, allocations: 81.09 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2785, allocations: 4 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.2785, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.2786, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2786, allocations: 7.984 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.2786, allocations: 79.45 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2786, allocations: 4 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002089/0.2789, allocations: 32 / 1.023 GB, free: 5.523 MB / 0.795 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 8.628e-05/0.2789, allocations: 103.2 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.2791, allocations: 35.89 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2791, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.2792, allocations: 19.98 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2795, allocations: 8.062 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.2797, allocations: 105.9 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2799, allocations: 0.6729 MB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.28, allocations: 3.984 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.28, allocations: 11.44 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.28, allocations: 0 / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of Templates: time 0.002278/0.2823, allocations: 416.1 kB / 1.024 GB, free: 4.109 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches