Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005225, allocations: 22.28 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001175/0.293, allocations: 388.8 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2945, allocations: 1.132 MB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.2946, allocations: 8 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.2946, allocations: 3.938 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.2947, allocations: 7.984 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.2953, allocations: 184.6 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2954, allocations: 91.81 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2955, allocations: 8 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2956, allocations: 63.88 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2957, allocations: 43.88 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.2958, allocations: 8 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.2959, allocations: 23.97 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2959, allocations: 8 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.296, allocations: 37.64 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2961, allocations: 108 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2961, allocations: 0 / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2961, allocations: 4 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2962, allocations: 0 / 0.7892 GB, free: 9.844 MB / 0.6075 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.000488/0.2967, allocations: 402.7 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2967, allocations: 12.03 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.2968, allocations: 11.91 kB / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2969, allocations: 167 kB / 0.7897 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.2969, allocations: 7.984 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.297, allocations: 16 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2971, allocations: 45.69 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2971, allocations: 3.938 kB / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2972, allocations: 3.984 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2972, allocations: 4 kB / 0.7898 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.2972, allocations: 12 kB / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.2977, allocations: 364.5 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.2978, allocations: 30.56 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2978, allocations: 0 / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.298, allocations: 91.34 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.298, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002484/0.2983, allocations: 101.8 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2983, allocations: 55.41 kB / 0.7904 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2984, allocations: 126 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2985, allocations: 29.7 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2986, allocations: 88.33 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2986, allocations: 11.81 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.2986, allocations: 8 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2987, allocations: 326.8 kB / 0.791 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2989, allocations: 51.97 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.299, allocations: 96.25 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2991, allocations: 111.4 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2992, allocations: 0 / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003817/0.2995, allocations: 264.8 kB / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.2996, allocations: 67.39 kB / 0.7916 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2996, allocations: 4.547 kB / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2996, allocations: 3.938 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/0.2997, allocations: 4 kB / 0.7916 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2997, allocations: 3.984 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.3001, allocations: 82.58 kB / 0.7917 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3001, allocations: 15.94 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001207/0.3003, allocations: 129.7 kB / 0.7918 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.3003, allocations: 7.906 kB / 0.7918 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3003, allocations: 8.375 kB / 0.7918 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3003, allocations: 4 kB / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3003, allocations: 0 / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.3003, allocations: 0 / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3005, allocations: 181.5 kB / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3005, allocations: 4 kB / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.3005, allocations: 0 / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3005, allocations: 0 / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3005, allocations: 0 / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3005, allocations: 4 kB / 0.792 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3005, allocations: 0 / 0.792 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.3007, allocations: 112.9 kB / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.3007, allocations: 85.02 kB / 0.7922 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3007, allocations: 4 kB / 0.7922 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.3008, allocations: 8.047 kB / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3008, allocations: 8 kB / 0.7922 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3008, allocations: 4 kB / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.3009, allocations: 95.2 kB / 0.7923 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3009, allocations: 0 / 0.7923 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002241/0.3011, allocations: 32 kB / 0.7923 GB, free: 6.223 MB / 0.6075 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0001955/0.3013, allocations: 107.2 kB / 0.7924 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.3017, allocations: 250.7 kB / 0.7927 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3017, allocations: 0 / 0.7927 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.3018, allocations: 24 kB / 0.7927 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.302, allocations: 19.88 kB / 0.7927 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.3023, allocations: 175.5 kB / 0.7929 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3026, allocations: 0.6887 MB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.3026, allocations: 4.281 kB / 0.7936 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.3027, allocations: 11.44 kB / 0.7936 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3027, allocations: 0 / 0.7936 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.004333/0.307, allocations: 1.688 MB / 0.7952 GB, free: 3.207 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: