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.Logical.Validation.Nor.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.00141/0.00141, allocations: 197 kB / 329.5 MB, free: 1.16 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.635/2.635, allocations: 225.6 MB / 0.6001 GB, free: 468 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.0009926/0.0009922, allocations: 101.9 kB / 0.7074 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006337/0.0006338, allocations: 11.56 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2396, allocations: 109.1 MB / 0.9308 GB, free: 24.83 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001523/0.2412, allocations: 1.083 MB / 0.9318 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.2416, allocations: 187.6 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.2417, allocations: 7.938 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.2417, allocations: 3.938 kB / 0.932 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.2418, allocations: 7.922 kB / 0.932 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.242, allocations: 15.98 kB / 0.932 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2421, allocations: 55.78 kB / 0.9321 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2422, allocations: 8 kB / 0.9321 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.2423, allocations: 23.91 kB / 0.9321 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.2424, allocations: 19.92 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2424, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.2424, allocations: 4 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2424, allocations: 3.984 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.2425, allocations: 37.64 kB / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.668e-05/0.2426, allocations: 39.86 kB / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2426, allocations: 4 kB / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2426, allocations: 0 / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2426, allocations: 0 / 0.9322 GB, free: 23.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005734/0.2432, allocations: 371.5 kB / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2432, allocations: 8.031 kB / 0.9326 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2433, allocations: 4.938 kB / 0.9326 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2434, allocations: 172.3 kB / 0.9328 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2434, allocations: 4.375 kB / 0.9328 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2435, allocations: 8.359 kB / 0.9328 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2436, allocations: 50.23 kB / 0.9328 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2436, allocations: 4.125 kB / 0.9328 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2436, allocations: 7.938 kB / 0.9328 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2437, allocations: 3.984 kB / 0.9328 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.2438, allocations: 19.98 kB / 0.9329 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.2442, allocations: 280.9 kB / 0.9331 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2443, allocations: 42.52 kB / 0.9332 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.2444, allocations: 20.97 kB / 0.9332 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.2444, allocations: 3.938 kB / 0.9332 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.2446, allocations: 71.39 kB / 0.9333 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.2446, allocations: 0 / 0.9333 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002588/0.2449, allocations: 89.64 kB / 0.9333 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2449, allocations: 55.41 kB / 0.9334 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.245, allocations: 121.7 kB / 0.9335 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.245, allocations: 29.7 kB / 0.9335 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2451, allocations: 88.05 kB / 0.9336 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2451, allocations: 11.84 kB / 0.9336 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.2451, allocations: 4 kB / 0.9336 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.2452, allocations: 318.8 kB / 0.9339 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.2452, allocations: 12 kB / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.2453, allocations: 38.56 kB / 0.934 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.2454, allocations: 16.56 kB / 0.934 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2454, allocations: 0 / 0.934 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001478/0.2455, allocations: 85.5 kB / 0.9341 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2456, allocations: 8.062 kB / 0.9341 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2456, allocations: 0 / 0.9341 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2456, allocations: 4.188 kB / 0.9341 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.2457, allocations: 11.92 kB / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2457, allocations: 3.938 kB / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.2459, allocations: 19.98 kB / 0.9341 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2459, allocations: 0 / 0.9341 GB, free: 21.14 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.246, allocations: 123.8 kB / 0.9343 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.246, allocations: 7.906 kB / 0.9343 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.246, allocations: 8.375 kB / 0.9343 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2461, allocations: 4 kB / 0.9343 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2461, allocations: 0 / 0.9343 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2461, allocations: 3.984 kB / 0.9343 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2463, allocations: 173.6 kB / 0.9344 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2463, allocations: 4 kB / 0.9345 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.2463, allocations: 0 / 0.9345 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2463, allocations: 3.984 kB / 0.9345 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2463, allocations: 4 kB / 0.9345 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2463, allocations: 7.938 kB / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2463, allocations: 0 / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2465, allocations: 105 kB / 0.9346 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.2466, allocations: 77.11 kB / 0.9346 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2466, allocations: 7.984 kB / 0.9346 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2467, allocations: 15.98 kB / 0.9347 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.2468, allocations: 7.984 kB / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2468, allocations: 11.94 kB / 0.9347 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.2469, allocations: 87.27 kB / 0.9348 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2469, allocations: 4 kB / 0.9348 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000243/0.2471, allocations: 11.94 kB / 0.9348 GB, free: 20.39 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: 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 (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.0001135/0.2473, allocations: 107.2 kB / 0.9349 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2474, allocations: 43.92 kB / 0.9349 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2475, allocations: 0 / 0.9349 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.2475, allocations: 23.94 kB / 0.9349 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2479, allocations: 19.92 kB / 0.935 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.2483, allocations: 174.4 kB / 0.9351 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2484, allocations: 0.6809 MB / 0.9358 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.2485, allocations: 4 kB / 0.9358 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.2485, allocations: 11.44 kB / 0.9358 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.2485, allocations: 0 / 0.9358 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.003702/0.2522, allocations: 0.7606 MB / 0.9366 GB, free: 18.51 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)