Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008776/0.0008776, 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.0009438/0.0009438, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.054e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002291/0.002322, allocations: 0.7918 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.00434, allocations: 1.509 MB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004448, allocations: 4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.004594, allocations: 15.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.004674, allocations: 39.64 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.005725, allocations: 0.5179 MB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.006177, allocations: 479.1 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.006328, allocations: 33.66 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.006584, allocations: 263.6 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.006799, allocations: 139.7 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.006854, allocations: 40 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006955, allocations: 55.92 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.007022, allocations: 51.83 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.007155, allocations: 131.8 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.007585, allocations: 490.8 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.007591, allocations: 7.984 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.034e-06/0.007593, allocations: 0 / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.0076, allocations: 0 / 1.004 GB, free: 8.953 MB / 0.9636 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.0006478/0.008247, allocations: 0.5605 MB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.00829, allocations: 8.75 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.008328, allocations: 46.73 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.008396, allocations: 32.8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.008728, allocations: 205.4 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.008759, allocations: 16.38 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.008807, allocations: 32.36 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.009013, allocations: 155.8 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.009021, allocations: 4.125 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.009033, allocations: 4.375 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00904, allocations: 8.125 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.009136, allocations: 83.89 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.009747, allocations: 0.5972 MB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.009894, allocations: 90.48 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.009943, allocations: 44.81 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.009954, allocations: 96 / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.01019, allocations: 159.2 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.173e-06/0.01019, allocations: 192 / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003752/0.01057, allocations: 247.4 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.01061, allocations: 63.34 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.01073, allocations: 183.7 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.01077, allocations: 41.7 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.01085, allocations: 132.6 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.01088, allocations: 39.69 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.011, allocations: 113.6 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.0111, allocations: 326.8 kB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.0114, allocations: 312.4 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.01171, allocations: 392.1 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.01204, allocations: 410.8 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.01205, allocations: 0 / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007524/0.0128, allocations: 0.7757 MB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.01289, allocations: 164.5 kB / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01289, allocations: 0 / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01291, allocations: 4 kB / 1.009 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.01294, allocations: 19.86 kB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.01295, allocations: 11.92 kB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.01335, allocations: 139.8 kB / 1.009 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.01339, allocations: 31.97 kB / 1.009 GB, free: 3.078 MB / 0.9636 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.000158/0.01355, allocations: 159.2 kB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.01358, allocations: 19.91 kB / 1.01 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.01361, allocations: 17.81 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.01362, allocations: 7.984 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.01363, allocations: 3.938 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01363, allocations: 0 / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.01404, allocations: 469.4 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01404, allocations: 3.984 kB / 1.01 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.01406, allocations: 7.938 kB / 1.01 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01406, allocations: 3.938 kB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.01407, allocations: 8 kB / 1.01 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01407, allocations: 64 / 1.01 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01408, allocations: 8 kB / 1.01 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.01428, allocations: 277.4 kB / 1.01 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.0143, allocations: 19.84 kB / 1.01 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01432, allocations: 7.984 kB / 1.01 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.01437, allocations: 0 / 1.01 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.01443, allocations: 23.97 kB / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.01445, allocations: 8 kB / 1.01 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.01452, allocations: 128.2 kB / 1.01 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01452, allocations: 3.938 kB / 1.01 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002718/0.01479, allocations: 83.88 kB / 1.011 GB, free: 1.77 MB / 0.9636 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.0004871/0.01528, allocations: 0.8227 MB / 1.011 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005604/0.01584, allocations: 0.6945 MB / 1.012 GB, free: 140 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01584, allocations: 0 / 1.012 GB, free: 140 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.01592, allocations: 67.91 kB / 1.012 GB, free: 72 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01623, allocations: 48.58 kB / 1.012 GB, free: 24 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.01918, allocations: 3.623 MB / 1.016 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.627e-05/0.01927, allocations: 120.1 kB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.01934, allocations: 25.47 kB / 1.016 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.01941, allocations: 60.42 kB / 1.016 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of SimCode: time 8.51e-07/0.01941, allocations: 0 / 1.016 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.04136, allocations: 7.629 MB / 1.023 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.748, allocations: 8.875 kB / 1.023 GB, free: 4.48 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.746666452847421]