Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 99.86 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.0009236/0.0009236, 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 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.3 MB / 0.6653 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006268/0.0006268, allocations: 12 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9552, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008383/0.9561, allocations: 336.7 kB / 0.9538 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.9573, allocations: 1.069 MB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.9574, allocations: 1.375 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.9574, allocations: 0 / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.9575, allocations: 5.406 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.9579, allocations: 115 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.882e-05/0.958, allocations: 42.12 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.9581, allocations: 2.906 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.9582, allocations: 34.97 kB / 0.9551 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.9583, allocations: 19 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.9583, allocations: 4.719 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.9584, allocations: 18.73 kB / 0.9551 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.9584, allocations: 5.203 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.9585, allocations: 42.8 kB / 0.9552 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.9586, allocations: 53.73 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.9586, allocations: 0 / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.015e-06/0.9586, allocations: 1.281 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9586, allocations: 0 / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003831/0.959, allocations: 361.7 kB / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9591, allocations: 9.312 kB / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.9591, allocations: 6.859 kB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.9592, allocations: 164.5 kB / 0.9557 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.9593, allocations: 7.156 kB / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.9593, allocations: 4.188 kB / 0.9557 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.9594, allocations: 43.05 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9594, allocations: 0 / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.9594, allocations: 1 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9594, allocations: 1.031 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.9595, allocations: 20.38 kB / 0.9558 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.9599, allocations: 290.9 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.9599, allocations: 21.7 kB / 0.9561 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.9599, allocations: 0 / 0.9561 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.9601, allocations: 62.45 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9601, allocations: 0 / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001823/0.9603, allocations: 66.59 kB / 0.9562 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.9603, allocations: 56.56 kB / 0.9563 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.9604, allocations: 108 kB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9604, allocations: 32.16 kB / 0.9564 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.9605, allocations: 90.58 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.9605, allocations: 1.281 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.9605, allocations: 2.344 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.9605, allocations: 311.9 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.9606, allocations: 34.7 kB / 0.9568 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.9607, allocations: 46.77 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.9608, allocations: 56.86 kB / 0.9569 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9608, allocations: 1.094 kB / 0.9569 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002076/0.961, allocations: 149.2 kB / 0.9571 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.961, allocations: 33.39 kB / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.961, allocations: 0 / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.961, allocations: 5.172 kB / 0.9571 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.9611, allocations: 2.375 kB / 0.9571 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.9611, allocations: 96 / 0.9571 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.9613, allocations: 46.42 kB / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9613, allocations: 4.562 kB / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.615e-05/0.9614, allocations: 114.1 kB / 0.9573 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.9614, allocations: 6.062 kB / 0.9573 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.9615, allocations: 12.59 kB / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9615, allocations: 0 / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9615, allocations: 9.031 kB / 0.9573 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9615, allocations: 0 / 0.9573 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.9616, allocations: 155.2 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9616, allocations: 0.9688 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-06/0.9616, allocations: 0 / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9616, allocations: 1.156 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9616, allocations: 1.125 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9616, allocations: 0 / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9616, allocations: 4 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.813e-05/0.9617, allocations: 91.31 kB / 0.9575 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.9617, allocations: 78.27 kB / 0.9576 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.9618, allocations: 3.938 kB / 0.9576 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.9618, allocations: 1.062 kB / 0.9576 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.9618, allocations: 1.094 kB / 0.9576 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.9618, allocations: 10.33 kB / 0.9576 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.9618, allocations: 90.8 kB / 0.9577 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9619, allocations: 0 / 0.9577 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002026/0.9621, allocations: 14.22 kB / 0.9577 GB, free: 4.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001387/0.9622, allocations: 103.1 kB / 0.9578 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.9624, allocations: 117.4 kB / 0.9579 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9624, allocations: 0.875 kB / 0.9579 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.9624, allocations: 15.44 kB / 0.958 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.9626, allocations: 7.75 kB / 0.958 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.9628, allocations: 125.2 kB / 0.9581 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.963, allocations: 0.6798 MB / 0.9588 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.963, allocations: 6.578 kB / 0.9588 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.963, allocations: 8.719 kB / 0.9588 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.963, allocations: 0 / 0.9588 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.003992/0.967, allocations: 0.9614 MB / 0.9597 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches