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.0008216/0.0008216, 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.0009502/0.0009502, 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.8803/0.8803, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.713/1.713, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.185e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001242/0.001254, allocations: 0.7995 MB / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.002633, allocations: 1.509 MB / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.002692, allocations: 0 / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.002798, allocations: 19.8 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.002843, allocations: 39.64 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.003664, allocations: 0.522 MB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.004036, allocations: 483.1 kB / 0.9843 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004163, allocations: 33.61 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.004353, allocations: 255.7 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.004532, allocations: 147.7 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.004581, allocations: 40 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.524e-05/0.004676, allocations: 51.98 kB / 0.9848 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.004729, allocations: 43.84 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.004847, allocations: 139.7 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.005195, allocations: 490.8 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005196, allocations: 0 / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.011e-06/0.005197, allocations: 3.938 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.005203, allocations: 0 / 0.9854 GB, free: 14.02 MB / 0.948 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.0005525/0.005755, allocations: 0.576 MB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00579, allocations: 12.03 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.005821, allocations: 38.75 kB / 0.986 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.005884, allocations: 36.81 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.00611, allocations: 209.4 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.006134, allocations: 24.36 kB / 0.9863 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.006172, allocations: 28.38 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.006356, allocations: 155.8 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006364, allocations: 192 / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006375, allocations: 384 / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006382, allocations: 8.125 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.00648, allocations: 87.8 kB / 0.9865 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.007247, allocations: 0.5932 MB / 0.9871 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.007392, allocations: 86.53 kB / 0.9872 GB, free: 12.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.00744, allocations: 40.84 kB / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.00745, allocations: 0 / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.007629, allocations: 159.3 kB / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.007631, allocations: 0 / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003214/0.007952, allocations: 244.1 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.007989, allocations: 67.33 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.008093, allocations: 187.1 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.00813, allocations: 41.7 kB / 0.9879 GB, free: 11.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.0082, allocations: 124.7 kB / 0.988 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.008225, allocations: 47.69 kB / 0.9881 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.008338, allocations: 109.6 kB / 0.9882 GB, free: 10.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.008413, allocations: 334.8 kB / 0.9885 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.008674, allocations: 308.4 kB / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.008955, allocations: 389.7 kB / 0.9892 GB, free: 9.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.009244, allocations: 410.5 kB / 0.9896 GB, free: 9.371 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.009247, allocations: 7.938 kB / 0.9896 GB, free: 9.363 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006573/0.009905, allocations: 0.7774 MB / 0.9903 GB, free: 8.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.009973, allocations: 160.5 kB / 0.9905 GB, free: 8.332 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009979, allocations: 4 kB / 0.9905 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.009992, allocations: 4 kB / 0.9905 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.01002, allocations: 15.88 kB / 0.9905 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01002, allocations: 4 kB / 0.9905 GB, free: 8.305 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.01039, allocations: 136 kB / 0.9906 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.01043, allocations: 35.97 kB / 0.9907 GB, free: 8.137 MB / 0.948 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.0001103/0.01054, allocations: 163.3 kB / 0.9908 GB, free: 7.969 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.01055, allocations: 15.91 kB / 0.9908 GB, free: 7.953 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.01058, allocations: 17.8 kB / 0.9909 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01058, allocations: 4 kB / 0.9909 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01059, allocations: 4.031 kB / 0.9909 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01059, allocations: 3.938 kB / 0.9909 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.01095, allocations: 473.4 kB / 0.9913 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01095, allocations: 0 / 0.9913 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.01096, allocations: 4.062 kB / 0.9913 GB, free: 7.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01096, allocations: 11.94 kB / 0.9913 GB, free: 7.398 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01097, allocations: 11.98 kB / 0.9913 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01097, allocations: 0 / 0.9913 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01097, allocations: 0 / 0.9913 GB, free: 7.387 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.01115, allocations: 281.1 kB / 0.9916 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.01117, allocations: 23.78 kB / 0.9916 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.01118, allocations: 8 kB / 0.9916 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.01122, allocations: 4 kB / 0.9917 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.01127, allocations: 19.97 kB / 0.9917 GB, free: 7.043 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01128, allocations: 11.98 kB / 0.9917 GB, free: 7.031 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.01134, allocations: 115.2 kB / 0.9918 GB, free: 6.918 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 8 kB / 0.9918 GB, free: 6.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002298/0.01157, allocations: 79.94 kB / 0.9919 GB, free: 6.832 MB / 0.948 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.0004034/0.01197, allocations: 0.8285 MB / 0.9927 GB, free: 5.977 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.01249, allocations: 0.6965 MB / 0.9934 GB, free: 5.188 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0125, allocations: 0.6875 kB / 0.9934 GB, free: 5.188 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.01256, allocations: 67.89 kB / 0.9934 GB, free: 5.121 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01283, allocations: 51.83 kB / 0.9935 GB, free: 5.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.01564, allocations: 3.639 MB / 0.997 GB, free: 1.129 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.01572, allocations: 116.2 kB / 0.9971 GB, free: 1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.618e-05/0.01576, allocations: 17.48 kB / 0.9972 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.01582, allocations: 56.48 kB / 0.9972 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.01582, allocations: 0 / 0.9972 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.03449, allocations: 7.635 MB / 1.005 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.929, allocations: 7.125 kB / 1.005 GB, free: 9.539 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.941577673889697]