Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.844/1.844, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.001759/0.001759, allocations: 171 kB / 393.1 MB, free: 4.086 MB / 314.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.557/1.557, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001054, allocations: 104.6 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.000452, allocations: 16.72 kB / 0.9224 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7895, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.001118/0.7907, allocations: 434.8 kB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.7918, allocations: 0.7982 MB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.7919, allocations: 0 / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.7919, allocations: 4.688 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.792, allocations: 7.875 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.7921, allocations: 13.44 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.7922, allocations: 37.84 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7923, allocations: 11.72 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.7924, allocations: 16.2 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.7925, allocations: 21.25 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.7925, allocations: 1.469 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.7925, allocations: 3.312 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.7925, allocations: 4.781 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.7926, allocations: 42.17 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.735e-05/0.7927, allocations: 36.77 kB / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7927, allocations: 0 / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7927, allocations: 0.5938 kB / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7927, allocations: 0 / 1.042 GB, free: 57.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005238/0.7933, allocations: 373.6 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7933, allocations: 10.02 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.7934, allocations: 6.875 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.7935, allocations: 178.1 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7935, allocations: 384 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.7935, allocations: 3.312 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.7938, allocations: 81.59 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7938, allocations: 192 / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7938, allocations: 6.203 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7939, allocations: 0.75 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.7942, allocations: 86.16 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.7946, allocations: 266.9 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.7948, allocations: 68.88 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.795, allocations: 56.16 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.7951, allocations: 2.25 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7951, allocations: 36.55 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.7951, allocations: 0 / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005907/0.7957, allocations: 167.2 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.7957, allocations: 51.41 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.7958, allocations: 114.8 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.7959, allocations: 26.73 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.7959, allocations: 89.98 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.7959, allocations: 15.84 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.796, allocations: 0 / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.796, allocations: 314.7 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.7962, allocations: 39.47 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.7964, allocations: 46.12 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.7967, allocations: 89.89 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7967, allocations: 7.875 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003376/0.7971, allocations: 121.5 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7971, allocations: 8.219 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7971, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7971, allocations: 2.562 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.7973, allocations: 31.03 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7973, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.031e-05/0.7974, allocations: 15.77 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.7974, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 8.617e-05/0.7975, allocations: 120.7 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.7975, allocations: 6.438 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.7976, allocations: 8.422 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7976, allocations: 0 / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7976, allocations: 1.656 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7976, allocations: 0 / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.7978, allocations: 172.8 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7978, allocations: 0 / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.7979, allocations: 23.92 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7979, allocations: 1.219 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.7979, allocations: 0 / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.7979, allocations: 10.78 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7979, allocations: 4 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.7983, allocations: 215.2 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.7983, allocations: 81.02 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.7983, allocations: 1.406 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.7985, allocations: 24.97 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7985, allocations: 2.859 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-06/0.7985, allocations: 1.781 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.7986, allocations: 87.39 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7986, allocations: 0 / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001947/0.7988, allocations: 9.484 kB / 1.045 GB, free: 55.16 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 0.0001545/0.7989, allocations: 106.1 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.7993, allocations: 93.58 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7993, allocations: 0 / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7995, allocations: 51.59 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.7998, allocations: 5.469 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.8001, allocations: 137 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.8003, allocations: 0.6848 MB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.8003, allocations: 5.438 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.8003, allocations: 8.438 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.8003, allocations: 4 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of Templates: time 0.002793/0.8031, allocations: 0.5338 MB / 1.047 GB, free: 54.15 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1)