Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.428/2.428, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001334/0.001334, allocations: 192.6 kB / 329.5 MB, free: 1.168 MB / 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 2.62/2.62, allocations: 225.6 MB / 0.6001 GB, free: 488 kB / 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.0009463/0.000946, allocations: 97.61 kB / 0.7074 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007812/0.0007812, allocations: 17.19 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.212, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001546/0.2136, allocations: 1.085 MB / 0.9318 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.2139, allocations: 91.83 kB / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.214, allocations: 0 / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.214, allocations: 0 / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.2141, allocations: 11.92 kB / 0.9319 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.996e-05/0.2141, allocations: 0 / 0.9319 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.2142, allocations: 27.92 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.2143, allocations: 0 / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.2144, allocations: 11.98 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.2145, allocations: 11.92 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2145, allocations: 3.938 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.2145, allocations: 0 / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2145, allocations: 4 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.2145, allocations: 29.7 kB / 0.932 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.19e-05/0.2146, allocations: 19.89 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2146, allocations: 0 / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2146, allocations: 4 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2146, allocations: 0 / 0.9321 GB, free: 23.55 MB / 0.5886 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.0004192/0.2151, allocations: 331.8 kB / 0.9324 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2151, allocations: 12.02 kB / 0.9324 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.2152, allocations: 8.938 kB / 0.9324 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.2153, allocations: 168.2 kB / 0.9325 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2153, allocations: 384 / 0.9325 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2153, allocations: 8.312 kB / 0.9326 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2155, allocations: 54.23 kB / 0.9326 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2156, allocations: 8.172 kB / 0.9326 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2156, allocations: 3.938 kB / 0.9326 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2156, allocations: 0 / 0.9326 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.2159, allocations: 43.97 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.2164, allocations: 261 kB / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.2166, allocations: 42.44 kB / 0.933 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2167, allocations: 24.91 kB / 0.933 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2168, allocations: 4 kB / 0.933 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2168, allocations: 34.55 kB / 0.933 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.2168, allocations: 4 kB / 0.933 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0005279/0.2173, allocations: 81.66 kB / 0.9331 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2174, allocations: 59.47 kB / 0.9332 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.2175, allocations: 105.8 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2175, allocations: 25.7 kB / 0.9333 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.2175, allocations: 80.14 kB / 0.9334 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2176, allocations: 3.906 kB / 0.9334 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.2176, allocations: 4 kB / 0.9334 GB, free: 22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.2176, allocations: 310.8 kB / 0.9337 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2178, allocations: 27.97 kB / 0.9337 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2179, allocations: 19.98 kB / 0.9337 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2181, allocations: 15.98 kB / 0.9337 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2181, allocations: 7.938 kB / 0.9337 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003075/0.2184, allocations: 77.66 kB / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2184, allocations: 4 kB / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2184, allocations: 0 / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2185, allocations: 0 / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.2188, allocations: 40 kB / 0.9338 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2188, allocations: 7.938 kB / 0.9338 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.2189, allocations: 7.984 kB / 0.9339 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2189, allocations: 0 / 0.9339 GB, free: 21.48 MB / 0.5886 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 7.121e-05/0.219, allocations: 118.3 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.219, allocations: 3.938 kB / 0.934 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.2191, allocations: 7.125 kB / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2191, allocations: 0 / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2191, allocations: 0 / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2191, allocations: 0 / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2192, allocations: 161.6 kB / 0.9341 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2193, allocations: 4 kB / 0.9341 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.2195, allocations: 35.97 kB / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2195, allocations: 0 / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2196, allocations: 0 / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2196, allocations: 0 / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2196, allocations: 0 / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.2199, allocations: 171.5 kB / 0.9343 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.22, allocations: 81.02 kB / 0.9344 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.22, allocations: 7.922 kB / 0.9344 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2201, allocations: 8 kB / 0.9344 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.2202, allocations: 4.031 kB / 0.9344 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2202, allocations: 0 / 0.9344 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.2202, allocations: 87.27 kB / 0.9345 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2202, allocations: 0 / 0.9345 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002584/0.2205, allocations: 4 kB / 0.9345 GB, free: 20.7 MB / 0.5886 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.0001276/0.2206, allocations: 105.6 kB / 0.9346 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.221, allocations: 43.97 kB / 0.9347 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.221, allocations: 0 / 0.9347 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.2212, allocations: 19.97 kB / 0.9347 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2215, allocations: 12.06 kB / 0.9347 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.2218, allocations: 108.6 kB / 0.9348 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2219, allocations: 0.677 MB / 0.9355 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.222, allocations: 0 / 0.9355 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.222, allocations: 7.438 kB / 0.9355 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/0.222, allocations: 0 / 0.9355 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of Templates: time 0.002705/0.2247, allocations: 339.8 kB / 0.9358 GB, free: 19.34 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)