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.001483/0.001483, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002384/0.002384, allocations: 217.2 kB / 22.25 MB, free: 5.125 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.961 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.215/3.215, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.003151/0.003151, allocations: 71.77 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3903, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003609/0.3939, allocations: 0.8393 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3969, allocations: 1.517 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3971, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3973, allocations: 23.73 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3974, allocations: 35.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.399, allocations: 0.5213 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008162/0.3998, allocations: 471.3 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4, allocations: 25.67 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.4003, allocations: 195.6 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.4007, allocations: 175.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4008, allocations: 40 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.401, allocations: 59.97 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.4011, allocations: 43.84 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.4014, allocations: 159.5 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.4021, allocations: 411 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.4021, allocations: 7.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4021, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4021, allocations: 0 / 1.33 GB, free: 13.43 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.001092/0.4032, allocations: 0.5761 MB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4032, allocations: 15.97 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.4033, allocations: 42.73 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.4034, allocations: 28.84 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.4038, allocations: 210.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4038, allocations: 16.38 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.4039, allocations: 32.36 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.4042, allocations: 157.5 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4042, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4042, allocations: 8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4042, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.4044, allocations: 81.78 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.4053, allocations: 0.6788 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4055, allocations: 86.55 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.4056, allocations: 44.83 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.4056, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.4059, allocations: 159.3 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.4059, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004898/0.4064, allocations: 238.6 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.4065, allocations: 63.39 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.4067, allocations: 182.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.4067, allocations: 41.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4069, allocations: 128.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.4069, allocations: 43.73 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.4071, allocations: 113.6 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4073, allocations: 330.8 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.4076, allocations: 155.9 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.408, allocations: 242.1 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.4085, allocations: 413 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4085, allocations: 4 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.4096, allocations: 0.6265 MB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4097, allocations: 168.4 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4097, allocations: 4.344 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4097, allocations: 11.94 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.4097, allocations: 11.92 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4098, allocations: 4 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.4105, allocations: 135.7 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.4106, allocations: 35.97 kB / 1.335 GB, free: 7.996 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.0002048/0.4108, allocations: 151.6 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.4108, allocations: 19.84 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.4108, allocations: 21.8 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4108, allocations: 4 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4109, allocations: 7.984 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4109, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.4115, allocations: 498.6 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4115, allocations: 0 / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.4115, allocations: 8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4115, allocations: 0 / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4115, allocations: 7.984 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4115, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4115, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.4119, allocations: 292.6 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.4119, allocations: 11.91 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4119, allocations: 8 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.412, allocations: 0 / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.4121, allocations: 19.97 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.4121, allocations: 11.98 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001074/0.4122, allocations: 119.2 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003692/0.4126, allocations: 83.89 kB / 1.336 GB, free: 6.68 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.0007498/0.4133, allocations: 0.827 MB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007794/0.4141, allocations: 0.5482 MB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4141, allocations: 0 / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4142, allocations: 65.8 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4146, allocations: 47.89 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.4188, allocations: 3.028 MB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4192, allocations: 0.7281 MB / 1.342 GB, free: 1.145 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.4193, allocations: 25.42 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.4194, allocations: 55.42 kB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4194, allocations: 0 / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.4554, allocations: 6.595 MB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.84, allocations: 4.734 kB / 1.348 GB, free: 10.66 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.724235716974363]