Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.931/2.931, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 185.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.855/2.855, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008879/0.0008877, allocations: 93.16 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 11 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001724/0.2201, allocations: 1.091 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.2206, allocations: 201.5 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.2207, allocations: 0 / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.2207, allocations: 3.938 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.2208, allocations: 11.91 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.221, allocations: 15.98 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.2211, allocations: 51.8 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2212, allocations: 7.984 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.2213, allocations: 15.94 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.2213, allocations: 23.91 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2214, allocations: 0 / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.2214, allocations: 4 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2214, allocations: 7.984 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2215, allocations: 33.64 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.717e-05/0.2216, allocations: 31.92 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2216, allocations: 4 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2216, allocations: 0 / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2216, allocations: 4 kB / 0.9005 GB, free: 63.89 MB / 0.6042 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.000616/0.2222, allocations: 375.5 kB / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2223, allocations: 8.031 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2223, allocations: 12.94 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2225, allocations: 180.2 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2225, allocations: 4.375 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2225, allocations: 384 / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2227, allocations: 54.23 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2227, allocations: 4.125 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2227, allocations: 7.922 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2227, allocations: 0 / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.2228, allocations: 20 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.2233, allocations: 284.9 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.2234, allocations: 46.5 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.2235, allocations: 16.92 kB / 0.9015 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2235, allocations: 4 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.2237, allocations: 75.36 kB / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.2237, allocations: 0 / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000268/0.224, allocations: 85.59 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2241, allocations: 55.48 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.2242, allocations: 117.8 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2242, allocations: 29.7 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.2242, allocations: 92.06 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2243, allocations: 15.81 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2243, allocations: 4 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2244, allocations: 318.8 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.2244, allocations: 12 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.2245, allocations: 34.56 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.2245, allocations: 15.94 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2246, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001521/0.2247, allocations: 81.53 kB / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.2248, allocations: 4 kB / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2248, allocations: 4 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2248, allocations: 0 / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.2249, allocations: 11.94 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2249, allocations: 0 / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2251, allocations: 23.86 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2251, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 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.255e-05/0.2252, allocations: 129.8 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.2252, allocations: 3.906 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.2252, allocations: 12.38 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2253, allocations: 0 / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2253, allocations: 0 / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2253, allocations: 0 / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.2255, allocations: 181.6 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2255, allocations: 0 / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.2255, allocations: 4 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2255, allocations: 0 / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2255, allocations: 8 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2255, allocations: 3.938 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2255, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2257, allocations: 97.05 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.2258, allocations: 81.02 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2258, allocations: 8 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2259, allocations: 19.98 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.226, allocations: 7.984 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.226, allocations: 4 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.2261, allocations: 92.05 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2261, allocations: 192 / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002804/0.2264, allocations: 12 kB / 0.9031 GB, free: 60.95 MB / 0.6042 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.000135/0.2265, allocations: 99.19 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.2267, allocations: 52.14 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2267, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.2268, allocations: 32.08 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2272, allocations: 23.86 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.2276, allocations: 162.8 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2278, allocations: 0.6887 MB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.2278, allocations: 7.859 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.2279, allocations: 11.44 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2279, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.003723/0.2316, allocations: 0.7502 MB / 0.9048 GB, free: 59.08 MB / 0.6042 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)