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.001399/0.001399, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.001521/0.001521, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.235/3.235, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.002128/0.002128, allocations: 68.36 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002648/0.3655, allocations: 0.8478 MB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3676, allocations: 1.506 MB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3677, allocations: 3.938 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3679, allocations: 23.8 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.368, allocations: 31.72 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3695, allocations: 0.5227 MB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.3701, allocations: 471.3 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3702, allocations: 33.44 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.3704, allocations: 187.6 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.3707, allocations: 179.5 kB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.3708, allocations: 40 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3709, allocations: 55.98 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.371, allocations: 43.84 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3712, allocations: 155.5 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.3716, allocations: 415 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3716, allocations: 3.938 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3716, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.3716, allocations: 3.938 kB / 1.325 GB, free: 14.87 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.0008653/0.3725, allocations: 0.6592 MB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3725, allocations: 11.98 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.3726, allocations: 42.73 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.3727, allocations: 28.84 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.3731, allocations: 264 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.3731, allocations: 20.38 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.3732, allocations: 36.3 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.3735, allocations: 147.4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3735, allocations: 3.938 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.3735, allocations: 12 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3735, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3736, allocations: 83.95 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/0.3746, allocations: 0.6992 MB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3748, allocations: 159.7 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.3749, allocations: 48.83 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3749, allocations: 0 / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.3752, allocations: 163.3 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.3752, allocations: 0 / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000484/0.3756, allocations: 238.6 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3757, allocations: 63.39 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3759, allocations: 182.8 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.3759, allocations: 45.64 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.376, allocations: 128.5 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.3761, allocations: 43.73 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3763, allocations: 113.6 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3765, allocations: 326.8 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.3768, allocations: 155.9 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.3772, allocations: 242.2 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.3777, allocations: 408.3 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3777, allocations: 4 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001131/0.3789, allocations: 0.6264 MB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.379, allocations: 168.4 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.379, allocations: 4 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.379, allocations: 8.344 kB / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.3791, allocations: 15.92 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3791, allocations: 7.938 kB / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.3799, allocations: 131.8 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.38, allocations: 40.06 kB / 1.33 GB, free: 9.152 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.0001858/0.3801, allocations: 159 kB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3802, allocations: 15.84 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.3802, allocations: 21.86 kB / 1.331 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3802, allocations: 4 kB / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3802, allocations: 0 / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3802, allocations: 4 kB / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.3809, allocations: 0.5116 MB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3809, allocations: 3.984 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.3809, allocations: 7.984 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3809, allocations: 0 / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3809, allocations: 8 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3809, allocations: 0 / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3809, allocations: 0 / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3813, allocations: 293.5 kB / 1.331 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.3813, allocations: 89.02 kB / 1.331 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3813, allocations: 4 kB / 1.331 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.3814, allocations: 7.984 kB / 1.331 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.3815, allocations: 15.98 kB / 1.331 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3815, allocations: 15.98 kB / 1.331 GB, free: 7.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.3816, allocations: 111.2 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3816, allocations: 0 / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004166/0.382, allocations: 87.89 kB / 1.332 GB, free: 7.707 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.0007518/0.3827, allocations: 0.8255 MB / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.3835, allocations: 0.55 MB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3835, allocations: 8.062 kB / 1.333 GB, free: 6.238 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3837, allocations: 67.89 kB / 1.333 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3841, allocations: 47.83 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.3883, allocations: 3.024 MB / 1.336 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3888, allocations: 0.7242 MB / 1.337 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.3889, allocations: 29.53 kB / 1.337 GB, free: 2.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.389, allocations: 55.42 kB / 1.337 GB, free: 2.082 MB / 1.029 GB Notification: Performance of SimCode: time 1.243e-06/0.389, allocations: 3.938 kB / 1.337 GB, free: 2.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.4209, allocations: 6.383 MB / 1.343 GB, free: 11.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.777, allocations: 10.47 kB / 1.343 GB, free: 11.84 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.442562696989626]