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.002113/0.002113, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002951/0.002951, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.682/1.682, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.972/2.972, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.016e-06/3.016e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.286e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002102/0.002135, allocations: 0.6064 MB / 0.982 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004225, allocations: 1.123 MB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.004291, allocations: 0 / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.004325, allocations: 7.938 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004436, allocations: 7.922 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.005126, allocations: 128.2 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.005354, allocations: 87.83 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005513, allocations: 11.97 kB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.005668, allocations: 43.97 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.005794, allocations: 19.97 kB / 0.9834 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.005831, allocations: 8 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.005919, allocations: 27.91 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.005952, allocations: 7.938 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.006027, allocations: 27.98 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.006232, allocations: 95.77 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.006236, allocations: 0 / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006238, allocations: 0 / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.006243, allocations: 0 / 0.9836 GB, free: 9.734 MB / 0.9356 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.0005331/0.006777, allocations: 300 kB / 0.9839 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.006821, allocations: 8.031 kB / 0.9839 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.006874, allocations: 8.891 kB / 0.9839 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.007021, allocations: 113.7 kB / 0.984 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.007043, allocations: 8.375 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.007067, allocations: 4.375 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.007192, allocations: 50.17 kB / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.007202, allocations: 192 / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.007219, allocations: 4.375 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007227, allocations: 384 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.007272, allocations: 11.88 kB / 0.9841 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.007664, allocations: 224.6 kB / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.007728, allocations: 14.58 kB / 0.9843 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.007746, allocations: 12.92 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.007754, allocations: 0 / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.007945, allocations: 71.27 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.007946, allocations: 4 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002263/0.008172, allocations: 61.64 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.008228, allocations: 59.41 kB / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.00833, allocations: 101.8 kB / 0.9846 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.00836, allocations: 29.7 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.008421, allocations: 84.14 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.008434, allocations: 7.953 kB / 0.9847 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.008502, allocations: 29.7 kB / 0.9847 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.008664, allocations: 314.8 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.008765, allocations: 61.69 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.008868, allocations: 80.19 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.008987, allocations: 84.27 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.008993, allocations: 4 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002819/0.009274, allocations: 173 kB / 0.9854 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.009319, allocations: 41.62 kB / 0.9855 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.009323, allocations: 0 / 0.9855 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.009338, allocations: 0 / 0.9855 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.00936, allocations: 3.938 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.009367, allocations: 4 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.009568, allocations: 36 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.009586, allocations: 4 kB / 0.9855 GB, free: 7.523 MB / 0.9356 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 9.541e-05/0.009681, allocations: 113.8 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.009695, allocations: 7.938 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.009717, allocations: 7.688 kB / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009719, allocations: 3.938 kB / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009723, allocations: 0 / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009726, allocations: 240 / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.009827, allocations: 113.3 kB / 0.9857 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.009828, allocations: 0 / 0.9857 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.009835, allocations: 3.984 kB / 0.9857 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.009836, allocations: 0 / 0.9857 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009845, allocations: 3.938 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009847, allocations: 0 / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009847, allocations: 320 / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.00998, allocations: 89 kB / 0.9858 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.009986, allocations: 0 / 0.9858 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01, allocations: 11.94 kB / 0.9858 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.01002, allocations: 0 / 0.9858 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.01005, allocations: 4 kB / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01005, allocations: 4 kB / 0.9859 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.01011, allocations: 87.27 kB / 0.9859 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01011, allocations: 0 / 0.9859 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002138/0.01032, allocations: 15.94 kB / 0.986 GB, free: 7.008 MB / 0.9356 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 0.0002161/0.01054, allocations: 95.25 kB / 0.986 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01081, allocations: 149 kB / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01081, allocations: 0 / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.01084, allocations: 8 kB / 0.9862 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01108, allocations: 12.17 kB / 0.9862 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.01152, allocations: 120.9 kB / 0.9863 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.01161, allocations: 63.34 kB / 0.9864 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.01163, allocations: 0 / 0.9864 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.01167, allocations: 12.5 kB / 0.9864 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.01167, allocations: 3.938 kB / 0.9864 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.005795/0.01746, allocations: 1.145 MB / 0.9875 GB, free: 5.367 MB / 0.9356 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: 8.716500364243984]