Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001425/0.001425, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001542/0.001542, allocations: 217.2 kB / 22.25 MB, free: 5.105 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MultiAnd,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 72.95 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002333/0.3779, allocations: 0.8025 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.38, allocations: 1.494 MB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3801, allocations: 3.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3802, allocations: 23.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.3803, allocations: 35.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.3817, allocations: 0.5302 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.3824, allocations: 471.3 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3825, allocations: 29.67 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3827, allocations: 187.6 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.383, allocations: 175.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.3831, allocations: 40 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3832, allocations: 55.98 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.3833, allocations: 47.83 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3835, allocations: 139.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.384, allocations: 415 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.384, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.194e-06/0.384, allocations: 3.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3841, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009227/0.385, allocations: 0.5839 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.385, allocations: 8.031 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.3851, allocations: 46.73 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.3852, allocations: 28.84 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.3856, allocations: 202.2 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3856, allocations: 16.38 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.3857, allocations: 36.31 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.386, allocations: 159.1 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.386, allocations: 3.938 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.386, allocations: 8 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.386, allocations: 4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3862, allocations: 83.94 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3872, allocations: 0.6009 MB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3874, allocations: 82.53 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.3875, allocations: 44.84 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3875, allocations: 96 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3878, allocations: 163.2 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.3878, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005185/0.3883, allocations: 246.8 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.3883, allocations: 59.41 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3885, allocations: 182.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.3886, allocations: 41.64 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3887, allocations: 132.6 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.3888, allocations: 47.73 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.389, allocations: 117.6 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3891, allocations: 326.8 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.3896, allocations: 308.4 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.3901, allocations: 394.6 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.3907, allocations: 403.9 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3907, allocations: 4 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001219/0.3919, allocations: 0.7783 MB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.392, allocations: 168.4 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3921, allocations: 4 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3921, allocations: 4 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.3921, allocations: 11.94 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3921, allocations: 7.984 kB / 1.335 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.3929, allocations: 139.7 kB / 1.335 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.393, allocations: 23.98 kB / 1.335 GB, free: 7.203 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.000274/0.3932, allocations: 163.5 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.3933, allocations: 23.83 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3933, allocations: 13.81 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3933, allocations: 8 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3933, allocations: 0 / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3934, allocations: 0 / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.394, allocations: 478.9 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.394, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.394, allocations: 4 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.394, allocations: 0 / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.394, allocations: 12.05 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.394, allocations: 4 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.394, allocations: 0 / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3944, allocations: 289.1 kB / 1.336 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.3944, allocations: 19.91 kB / 1.336 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3944, allocations: 0 / 1.336 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.3945, allocations: 7.938 kB / 1.336 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3945, allocations: 19.97 kB / 1.336 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3946, allocations: 15.98 kB / 1.336 GB, free: 6.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.3946, allocations: 115.2 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3946, allocations: 7.938 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003658/0.395, allocations: 79.89 kB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007294/0.3957, allocations: 0.8255 MB / 1.337 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.3967, allocations: 0.6945 MB / 1.338 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3967, allocations: 0 / 1.338 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3968, allocations: 71.89 kB / 1.338 GB, free: 4.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3972, allocations: 48.62 kB / 1.338 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.4017, allocations: 3.632 MB / 1.342 GB, free: 204 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.4019, allocations: 120.1 kB / 1.342 GB, free: 60 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.862e-05/0.4019, allocations: 21.48 kB / 1.342 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.402, allocations: 59.41 kB / 1.342 GB, free: 15.98 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.402, allocations: 0 / 1.342 GB, free: 15.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.4369, allocations: 7.567 MB / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.68, allocations: 5.891 kB / 1.349 GB, free: 8.656 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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: 18.389448255999014]