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.0007071/0.0007071, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007766/0.0007766, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8846/0.8846, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.502e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001717/0.001742, allocations: 0.6226 MB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.00327, allocations: 1.12 MB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.003317, allocations: 0 / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.003347, allocations: 3.938 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.00342, allocations: 11.92 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.003958, allocations: 122 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.004125, allocations: 87.83 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004236, allocations: 4 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004351, allocations: 47.95 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004456, allocations: 27.95 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.004482, allocations: 4 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.004556, allocations: 23.92 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.00458, allocations: 7.984 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.004635, allocations: 23.98 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.004826, allocations: 95.77 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004828, allocations: 7.938 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004829, allocations: 4 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.004836, allocations: 0 / 0.9831 GB, free: 360 kB / 0.9323 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.0004784/0.005314, allocations: 292 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.005363, allocations: 12.03 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.005419, allocations: 34.75 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.005465, allocations: 8.891 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.005564, allocations: 105.8 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.005583, allocations: 4.375 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.005603, allocations: 12.34 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005709, allocations: 42.27 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005719, allocations: 192 / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.00573, allocations: 4.359 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005736, allocations: 4.125 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.005779, allocations: 11.94 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.006218, allocations: 240 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.006277, allocations: 22.56 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.006293, allocations: 4.859 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.006305, allocations: 7.875 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.006471, allocations: 67.34 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.006472, allocations: 4 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002212/0.006693, allocations: 61.69 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.006741, allocations: 55.39 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.006819, allocations: 105.8 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.006839, allocations: 29.7 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.006887, allocations: 84.14 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.006897, allocations: 3.953 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.006947, allocations: 33.7 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.007042, allocations: 322.8 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.007114, allocations: 53.69 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.007186, allocations: 88.19 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.00726, allocations: 76.28 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007262, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001791/0.007441, allocations: 184.9 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.007472, allocations: 33.7 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007478, allocations: 3.984 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.00749, allocations: 3.938 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.00751, allocations: 7.938 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.007515, allocations: 96 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.00765, allocations: 31.91 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.007664, allocations: 4 kB / 0.9851 GB, free: 14.07 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 8.014e-05/0.007744, allocations: 113.8 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.007755, allocations: 11.92 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.007779, allocations: 3.688 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007781, allocations: 0 / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.007788, allocations: 240 / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.007792, allocations: 0 / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.007898, allocations: 137.1 kB / 0.9853 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.007903, allocations: 7.922 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.007909, allocations: 4 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.00791, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007919, allocations: 4 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.007919, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00792, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.008018, allocations: 85 kB / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.008025, allocations: 7.938 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008037, allocations: 0 / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.008044, allocations: 0 / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.008076, allocations: 8 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.008081, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.00812, allocations: 91.2 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00812, allocations: 0 / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000153/0.008273, allocations: 16 kB / 0.9856 GB, free: 13.52 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 0.0003615/0.008635, allocations: 0.6163 MB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.008841, allocations: 129.1 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.008846, allocations: 4 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.008871, allocations: 12.17 kB / 0.9863 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.009072, allocations: 8 kB / 0.9863 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.01029, allocations: 1.485 MB / 0.9878 GB, free: 11.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.01033, allocations: 67.28 kB / 0.9878 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.01035, allocations: 3.938 kB / 0.9878 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.01038, allocations: 16.5 kB / 0.9878 GB, free: 10.99 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/0.01038, allocations: 0 / 0.9878 GB, free: 10.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02674, allocations: 2.684 MB / 0.9905 GB, free: 8.469 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.671, allocations: 3 kB / 0.9905 GB, free: 8.469 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/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] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv: Error: Error opening file: Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,not1.u,not1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 10.859943518415093]