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.Logical.Validation.Nor.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") 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.351/1.351, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.00112/0.00112, allocations: 185.1 kB / 330.8 MB, free: 476 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.624/1.624, allocations: 225.7 MB / 0.6016 GB, free: 1.68 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.0008369/0.0008368, allocations: 103.5 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005058, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2591, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001679/0.2609, allocations: 1.087 MB / 0.9338 GB, free: 5.172 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.2613, allocations: 191.5 kB / 0.934 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.2614, allocations: 8 kB / 0.934 GB, free: 4.977 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2614, allocations: 3.984 kB / 0.934 GB, free: 4.973 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2615, allocations: 3.938 kB / 0.934 GB, free: 4.969 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.2617, allocations: 19.92 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.2618, allocations: 51.78 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2619, allocations: 15.98 kB / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.262, allocations: 15.94 kB / 0.9341 GB, free: 4.867 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.2621, allocations: 19.91 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2621, allocations: 8 kB / 0.9342 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.2621, allocations: 0 / 0.9342 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.2621, allocations: 7.938 kB / 0.9342 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.2622, allocations: 41.62 kB / 0.9342 GB, free: 4.785 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.568e-05/0.2623, allocations: 51.78 kB / 0.9342 GB, free: 4.734 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2623, allocations: 0 / 0.9342 GB, free: 4.734 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2623, allocations: 0 / 0.9342 GB, free: 4.734 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2623, allocations: 0 / 0.9342 GB, free: 4.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005334/0.2629, allocations: 375.6 kB / 0.9346 GB, free: 4.316 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.2629, allocations: 11.98 kB / 0.9346 GB, free: 4.305 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.263, allocations: 8.844 kB / 0.9346 GB, free: 4.297 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2631, allocations: 172.3 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2631, allocations: 384 / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2632, allocations: 8.375 kB / 0.9348 GB, free: 4.082 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2633, allocations: 46.25 kB / 0.9348 GB, free: 4.031 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2633, allocations: 4.188 kB / 0.9348 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2633, allocations: 7.922 kB / 0.9349 GB, free: 4.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2633, allocations: 0 / 0.9349 GB, free: 4.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.2634, allocations: 20 kB / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.2639, allocations: 284.7 kB / 0.9351 GB, free: 3.672 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.264, allocations: 50.5 kB / 0.9352 GB, free: 3.613 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.264, allocations: 20.98 kB / 0.9352 GB, free: 3.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.264, allocations: 3.938 kB / 0.9352 GB, free: 3.586 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.2642, allocations: 83.28 kB / 0.9353 GB, free: 3.492 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2642, allocations: 0 / 0.9353 GB, free: 3.492 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0002147/0.2644, allocations: 77.69 kB / 0.9354 GB, free: 3.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2645, allocations: 51.41 kB / 0.9354 GB, free: 3.348 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.2646, allocations: 117.8 kB / 0.9355 GB, free: 3.223 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2646, allocations: 33.7 kB / 0.9356 GB, free: 3.184 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2646, allocations: 92.19 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2647, allocations: 15.75 kB / 0.9357 GB, free: 3.074 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.2647, allocations: 4 kB / 0.9357 GB, free: 3.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.2648, allocations: 318.8 kB / 0.936 GB, free: 2.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.2648, allocations: 12 kB / 0.936 GB, free: 2.738 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.2648, allocations: 42.44 kB / 0.936 GB, free: 2.688 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.2649, allocations: 46.52 kB / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2649, allocations: 0 / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001052/0.265, allocations: 73.62 kB / 0.9361 GB, free: 2.555 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.265, allocations: 8 kB / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.265, allocations: 0 / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2651, allocations: 0 / 0.9362 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.2651, allocations: 7.938 kB / 0.9362 GB, free: 2.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2651, allocations: 12.05 kB / 0.9362 GB, free: 2.527 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.2652, allocations: 19.89 kB / 0.9362 GB, free: 2.508 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2652, allocations: 4 kB / 0.9362 GB, free: 2.504 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.541e-05/0.2653, allocations: 118.4 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.2653, allocations: 4 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2654, allocations: 8.375 kB / 0.9363 GB, free: 2.363 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2654, allocations: 0 / 0.9363 GB, free: 2.363 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2654, allocations: 4 kB / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2654, allocations: 0 / 0.9363 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2655, allocations: 181.6 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2655, allocations: 0 / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.2656, allocations: 7.938 kB / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2656, allocations: 0 / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2656, allocations: 4 kB / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2656, allocations: 0 / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2656, allocations: 0 / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2657, allocations: 105.1 kB / 0.9366 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2657, allocations: 85.02 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2658, allocations: 7.938 kB / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.2658, allocations: 15.98 kB / 0.9367 GB, free: 1.875 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.2659, allocations: 11.98 kB / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2659, allocations: 0 / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.2659, allocations: 92.05 kB / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.266, allocations: 4 kB / 0.9368 GB, free: 1.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002003/0.2662, allocations: 15.94 kB / 0.9368 GB, free: 1.754 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001374/0.2663, allocations: 116.6 kB / 0.9369 GB, free: 1.633 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2664, allocations: 44.19 kB / 0.937 GB, free: 1.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2664, allocations: 0 / 0.937 GB, free: 1.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.2665, allocations: 35.86 kB / 0.937 GB, free: 1.555 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2667, allocations: 27.22 kB / 0.937 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.267, allocations: 162.7 kB / 0.9372 GB, free: 1.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2672, allocations: 0.6848 MB / 0.9379 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.2672, allocations: 7.781 kB / 0.9379 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.2673, allocations: 15.44 kB / 0.9379 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of SimCode: time 3.01e-07/0.2673, allocations: 0 / 0.9379 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of Templates: time 0.003136/0.2704, allocations: 0.7694 MB / 0.9386 GB, free: 15.84 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)