Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 186.5 kB / 330.8 MB, free: 484 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 225.7 MB / 0.6016 GB, free: 1.531 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 95.56 kB / 0.709 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005466, allocations: 16 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2049, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001239/0.2062, allocations: 1.093 MB / 0.9338 GB, free: 5.148 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.2064, allocations: 95.83 kB / 0.9339 GB, free: 5.055 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.2065, allocations: 0 / 0.9339 GB, free: 5.055 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.2065, allocations: 3.938 kB / 0.9339 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.2066, allocations: 0 / 0.9339 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 4.479e-05/0.2066, allocations: 4 kB / 0.9339 GB, free: 5.047 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.2067, allocations: 27.86 kB / 0.934 GB, free: 5.02 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.2068, allocations: 7.984 kB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.2069, allocations: 7.984 kB / 0.934 GB, free: 5.004 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.2069, allocations: 7.938 kB / 0.934 GB, free: 4.996 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2069, allocations: 4 kB / 0.934 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-06/0.2069, allocations: 4 kB / 0.934 GB, free: 4.988 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2069, allocations: 3.984 kB / 0.934 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.207, allocations: 33.64 kB / 0.934 GB, free: 4.945 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 5.421e-05/0.207, allocations: 15.97 kB / 0.934 GB, free: 4.93 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.207, allocations: 0 / 0.934 GB, free: 4.93 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2071, allocations: 0 / 0.934 GB, free: 4.93 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2071, allocations: 4 kB / 0.934 GB, free: 4.926 MB / 0.573 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.0003222/0.2074, allocations: 339.9 kB / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2074, allocations: 11.98 kB / 0.9344 GB, free: 4.531 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.2075, allocations: 4.844 kB / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.351e-05/0.2075, allocations: 172.3 kB / 0.9346 GB, free: 4.32 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2076, allocations: 384 / 0.9346 GB, free: 4.32 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.2076, allocations: 4.312 kB / 0.9346 GB, free: 4.316 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.2077, allocations: 62.16 kB / 0.9346 GB, free: 4.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2077, allocations: 4.188 kB / 0.9346 GB, free: 4.246 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2078, allocations: 3.938 kB / 0.9346 GB, free: 4.242 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2078, allocations: 0 / 0.9346 GB, free: 4.242 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2079, allocations: 39.97 kB / 0.9347 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.2082, allocations: 265 kB / 0.9349 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.2083, allocations: 46.44 kB / 0.935 GB, free: 3.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.2084, allocations: 24.91 kB / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2084, allocations: 0 / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2084, allocations: 34.56 kB / 0.935 GB, free: 3.77 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2084, allocations: 0 / 0.935 GB, free: 3.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0003153/0.2088, allocations: 93.64 kB / 0.9351 GB, free: 3.672 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2088, allocations: 55.34 kB / 0.9352 GB, free: 3.605 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.2089, allocations: 101.8 kB / 0.9353 GB, free: 3.496 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.2089, allocations: 25.7 kB / 0.9353 GB, free: 3.465 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.2089, allocations: 88.17 kB / 0.9354 GB, free: 3.375 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.2089, allocations: 7.938 kB / 0.9354 GB, free: 3.367 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.2089, allocations: 0 / 0.9354 GB, free: 3.367 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.209, allocations: 310.8 kB / 0.9357 GB, free: 3.055 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.209, allocations: 19.98 kB / 0.9357 GB, free: 3.035 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.2091, allocations: 27.97 kB / 0.9357 GB, free: 3.008 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2092, allocations: 40.83 kB / 0.9358 GB, free: 2.965 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2092, allocations: 3.938 kB / 0.9358 GB, free: 2.961 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001582/0.2094, allocations: 77.72 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2094, allocations: 11.84 kB / 0.9358 GB, free: 2.867 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2094, allocations: 0 / 0.9358 GB, free: 2.867 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2095, allocations: 0 / 0.9358 GB, free: 2.867 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2096, allocations: 36 kB / 0.9359 GB, free: 2.832 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2096, allocations: 0 / 0.9359 GB, free: 2.832 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.2097, allocations: 11.98 kB / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.2097, allocations: 0 / 0.9359 GB, free: 2.82 MB / 0.573 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 5.211e-05/0.2098, allocations: 111 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.2098, allocations: 4 kB / 0.936 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.2098, allocations: 11.12 kB / 0.936 GB, free: 2.684 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2098, allocations: 0 / 0.936 GB, free: 2.684 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2098, allocations: 3.938 kB / 0.936 GB, free: 2.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2098, allocations: 0 / 0.936 GB, free: 2.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2099, allocations: 165.6 kB / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2099, allocations: 0 / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2101, allocations: 35.97 kB / 0.9362 GB, free: 2.434 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2101, allocations: 4 kB / 0.9362 GB, free: 2.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2101, allocations: 0 / 0.9362 GB, free: 2.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2101, allocations: 0 / 0.9362 GB, free: 2.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2101, allocations: 11.97 kB / 0.9362 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.2103, allocations: 171.3 kB / 0.9364 GB, free: 2.234 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2103, allocations: 81.11 kB / 0.9365 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2103, allocations: 3.984 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.2104, allocations: 4 kB / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.2105, allocations: 4 kB / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2105, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.02e-05/0.2105, allocations: 91.48 kB / 0.9366 GB, free: 2.035 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2105, allocations: 0 / 0.9366 GB, free: 2.035 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001791/0.2107, allocations: 0 / 0.9366 GB, free: 2.035 MB / 0.573 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.235e-05/0.2108, allocations: 107.4 kB / 0.9367 GB, free: 1.922 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.211, allocations: 43.97 kB / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.211, allocations: 0 / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.211, allocations: 19.97 kB / 0.9367 GB, free: 1.859 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.2113, allocations: 15.88 kB / 0.9367 GB, free: 1.844 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.2115, allocations: 104.8 kB / 0.9368 GB, free: 1.711 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.2116, allocations: 0.6809 MB / 0.9375 GB, free: 1.004 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.2116, allocations: 3.938 kB / 0.9375 GB, free: 1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.2116, allocations: 7.438 kB / 0.9375 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of SimCode: time 2e-07/0.2116, allocations: 0 / 0.9375 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of Templates: time 0.001745/0.2134, allocations: 357.2 kB / 0.9379 GB, free: 0.6484 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)