Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9384/0.9384, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.766/1.766, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.409e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001767/0.001801, allocations: 0.6133 MB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002883, allocations: 1.127 MB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.002921, allocations: 0 / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.002954, allocations: 7.938 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.00301, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.003375, allocations: 121.6 kB / 0.984 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003554, allocations: 91.81 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.003638, allocations: 4 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.003718, allocations: 55.89 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.003804, allocations: 24.03 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003825, allocations: 8 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.003878, allocations: 15.98 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.003897, allocations: 8 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.003937, allocations: 19.98 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.004076, allocations: 111.5 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004078, allocations: 4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004078, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.004082, allocations: 3.938 kB / 0.9844 GB, free: 15.82 MB / 0.948 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.0003357/0.004418, allocations: 292 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.00445, allocations: 12.03 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.00449, allocations: 12.89 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.486e-05/0.004555, allocations: 101.8 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.004568, allocations: 12.34 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.004582, allocations: 4.375 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.162e-05/0.004653, allocations: 42.25 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.00466, allocations: 4.188 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004667, allocations: 384 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.004671, allocations: 384 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.0047, allocations: 7.938 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.004943, allocations: 224.5 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.004976, allocations: 22.56 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.004987, allocations: 8.922 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.004993, allocations: 0 / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.941e-05/0.005082, allocations: 67.27 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005083, allocations: 0 / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.005213, allocations: 65.64 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.005242, allocations: 55.41 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.005293, allocations: 105.8 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.00531, allocations: 29.7 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.00535, allocations: 92.08 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.005357, allocations: 3.953 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.005397, allocations: 29.7 kB / 0.9855 GB, free: 14.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.005466, allocations: 318.8 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.07e-05/0.005527, allocations: 61.69 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.005589, allocations: 80.19 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.005654, allocations: 80.28 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005656, allocations: 4 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001628/0.005819, allocations: 180.9 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.005845, allocations: 41.64 kB / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005849, allocations: 0 / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005859, allocations: 3.984 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.161e-05/0.005871, allocations: 3.938 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.005877, allocations: 4 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.005994, allocations: 28.06 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.006005, allocations: 4 kB / 0.9863 GB, free: 13.62 MB / 0.948 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.006062, allocations: 113.8 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.00607, allocations: 12.23 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.006085, allocations: 3.922 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006086, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.00609, allocations: 7.938 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.006095, allocations: 3.984 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.138e-05/0.006156, allocations: 109.3 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006157, allocations: 4 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.006159, allocations: 0 / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.00616, allocations: 0 / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006166, allocations: 3.938 kB / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006166, allocations: 0 / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006167, allocations: 0 / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.763e-05/0.006235, allocations: 85.02 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.006241, allocations: 3.984 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.006253, allocations: 7.938 kB / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-06/0.00626, allocations: 0 / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.006277, allocations: 0 / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.00628, allocations: 8 kB / 0.9866 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.006309, allocations: 91.2 kB / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006309, allocations: 0 / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000135/0.006444, allocations: 12 kB / 0.9867 GB, free: 13.11 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.192e-05/0.006526, allocations: 95.25 kB / 0.9868 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.006668, allocations: 145 kB / 0.987 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006669, allocations: 0 / 0.987 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.006688, allocations: 8 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.006819, allocations: 20.11 kB / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.007002, allocations: 138.7 kB / 0.9871 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.007035, allocations: 63.34 kB / 0.9872 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.007047, allocations: 8.5 kB / 0.9872 GB, free: 12.56 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.007048, allocations: 0 / 0.9872 GB, free: 12.56 MB / 0.948 GB Notification: Performance of Templates: time 0.001487/0.008535, allocations: 0.8886 MB / 0.988 GB, free: 11.68 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.940673757344484]