Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008056/0.0008056, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008383/0.0008383, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8865/0.8865, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.791e-05, allocations: 9.094 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001891/0.001918, allocations: 0.8085 MB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.003427, allocations: 1.506 MB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.003518, allocations: 4 kB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003633, allocations: 15.75 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.003683, allocations: 31.77 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.004685, allocations: 0.5266 MB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.005121, allocations: 475.1 kB / 0.9538 GB, free: 128 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.005248, allocations: 25.67 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.005483, allocations: 255.7 kB / 0.9541 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.005667, allocations: 151.6 kB / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.005718, allocations: 43.94 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.005813, allocations: 63.86 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.005869, allocations: 39.89 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.005988, allocations: 139.8 kB / 0.9545 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.00641, allocations: 486.8 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006413, allocations: 0 / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.024e-06/0.006415, allocations: 0 / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.006421, allocations: 0 / 0.9549 GB, free: 14.94 MB / 0.9167 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.0008818/0.007302, allocations: 0.5722 MB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.007348, allocations: 8.031 kB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.007384, allocations: 50.73 kB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.007454, allocations: 28.84 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.007696, allocations: 201.4 kB / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.007715, allocations: 16.38 kB / 0.9558 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.007755, allocations: 32.38 kB / 0.9558 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.007955, allocations: 153.5 kB / 0.956 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.007964, allocations: 192 / 0.956 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.007976, allocations: 8.359 kB / 0.956 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007985, allocations: 12.06 kB / 0.956 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.008084, allocations: 79.95 kB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.008691, allocations: 0.5972 MB / 0.9567 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.008832, allocations: 90.48 kB / 0.9567 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.008882, allocations: 40.83 kB / 0.9568 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.008893, allocations: 4 kB / 0.9568 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.009102, allocations: 155.3 kB / 0.9569 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.009103, allocations: 0 / 0.9569 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0003552/0.009458, allocations: 247.1 kB / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.009499, allocations: 67.33 kB / 0.9572 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.009622, allocations: 187.4 kB / 0.9574 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.009663, allocations: 41.7 kB / 0.9574 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.009748, allocations: 124.7 kB / 0.9576 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.009775, allocations: 47.58 kB / 0.9576 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.009904, allocations: 117.6 kB / 0.9577 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.009991, allocations: 326.8 kB / 0.958 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.01028, allocations: 312.3 kB / 0.9583 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.01058, allocations: 398.5 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.01091, allocations: 404.6 kB / 0.9591 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01091, allocations: 0 / 0.9591 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000764/0.01168, allocations: 0.7811 MB / 0.9599 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.01175, allocations: 168.4 kB / 0.96 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01176, allocations: 0 / 0.96 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01177, allocations: 4 kB / 0.96 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.606e-05/0.0118, allocations: 15.88 kB / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01181, allocations: 7.984 kB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.01221, allocations: 144 kB / 0.9602 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.01225, allocations: 27.98 kB / 0.9602 GB, free: 9.051 MB / 0.9167 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.0001286/0.01238, allocations: 163.2 kB / 0.9604 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.0124, allocations: 15.91 kB / 0.9604 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.01243, allocations: 21.75 kB / 0.9604 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01243, allocations: 0 / 0.9604 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01244, allocations: 3.938 kB / 0.9604 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01244, allocations: 3.984 kB / 0.9604 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.01283, allocations: 467.2 kB / 0.9609 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01283, allocations: 0 / 0.9609 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.01285, allocations: 11.92 kB / 0.9609 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01285, allocations: 3.938 kB / 0.9609 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.01286, allocations: 8 kB / 0.9609 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01286, allocations: 0 / 0.9609 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01286, allocations: 0 / 0.9609 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.01306, allocations: 281.6 kB / 0.9611 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.01308, allocations: 23.84 kB / 0.9612 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.01309, allocations: 4 kB / 0.9612 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.01313, allocations: 4 kB / 0.9612 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.01318, allocations: 23.91 kB / 0.9612 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01319, allocations: 19.94 kB / 0.9612 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.01325, allocations: 123.2 kB / 0.9613 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01325, allocations: 0 / 0.9613 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002568/0.01351, allocations: 79.94 kB / 0.9614 GB, free: 7.746 MB / 0.9167 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.0007587/0.01427, allocations: 0.8263 MB / 0.9622 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.01483, allocations: 0.6986 MB / 0.9629 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01483, allocations: 4 kB / 0.9629 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.0149, allocations: 60.59 kB / 0.963 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.0152, allocations: 63.78 kB / 0.963 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.01802, allocations: 3.615 MB / 0.9666 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.01812, allocations: 120.2 kB / 0.9667 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.092e-05/0.01819, allocations: 21.48 kB / 0.9667 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.01826, allocations: 56.47 kB / 0.9667 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of SimCode: time 7.91e-07/0.01826, allocations: 0 / 0.9667 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03842, allocations: 7.638 MB / 0.9742 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.888, allocations: 6.219 kB / 0.9742 GB, free: 10.45 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.86603484582156]