Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0008323/0.0008323, 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.001007/0.001007, 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.8724/0.8724, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.744/1.744, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.511e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002594/0.002619, allocations: 0.8112 MB / 0.9818 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.00477, allocations: 1.497 MB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.004905, allocations: 7.938 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.005055, allocations: 23.73 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.005146, allocations: 31.77 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.006727, allocations: 0.5267 MB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.007435, allocations: 479.1 kB / 0.9843 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.007599, allocations: 33.66 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.00795, allocations: 255.7 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.008241, allocations: 143.6 kB / 0.9847 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.008335, allocations: 40 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.008461, allocations: 59.92 kB / 0.9848 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.008524, allocations: 35.91 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.008689, allocations: 143.7 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.00925, allocations: 490.8 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.009256, allocations: 0 / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.009258, allocations: 0 / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.009269, allocations: 0 / 0.9854 GB, free: 14.04 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.0008203/0.01009, allocations: 0.5761 MB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.01013, allocations: 8.031 kB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.01019, allocations: 46.73 kB / 0.986 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.0103, allocations: 28.84 kB / 0.986 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.01063, allocations: 213.4 kB / 0.9863 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.01066, allocations: 20.31 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.01098, allocations: 32.38 kB / 0.9863 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.01125, allocations: 149.8 kB / 0.9864 GB, free: 12.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01125, allocations: 4.188 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.01127, allocations: 4.375 kB / 0.9865 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.01128, allocations: 12.12 kB / 0.9865 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.01138, allocations: 91.73 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.01199, allocations: 0.5855 MB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.01214, allocations: 90.55 kB / 0.9872 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.01219, allocations: 37.03 kB / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.0122, allocations: 7.938 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.01243, allocations: 157.1 kB / 0.9874 GB, free: 11.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.01244, allocations: 4 kB / 0.9874 GB, free: 11.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003454/0.01278, allocations: 245.4 kB / 0.9876 GB, free: 11.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.01282, allocations: 59.34 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01293, allocations: 187.1 kB / 0.9879 GB, free: 11.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.01297, allocations: 41.7 kB / 0.9879 GB, free: 11.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.01305, allocations: 128.6 kB / 0.988 GB, free: 11.13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.01307, allocations: 47.62 kB / 0.9881 GB, free: 11.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01321, allocations: 117.6 kB / 0.9882 GB, free: 10.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.01329, allocations: 326.8 kB / 0.9885 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.01358, allocations: 308.4 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.01387, allocations: 391.2 kB / 0.9892 GB, free: 9.852 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.01421, allocations: 414.1 kB / 0.9896 GB, free: 9.383 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.01421, allocations: 4 kB / 0.9896 GB, free: 9.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00073/0.01494, allocations: 0.7677 MB / 0.9903 GB, free: 8.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.01519, allocations: 167.6 kB / 0.9905 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.0152, allocations: 0 / 0.9905 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01521, allocations: 8 kB / 0.9905 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.01524, allocations: 16.22 kB / 0.9905 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01525, allocations: 8 kB / 0.9905 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.01565, allocations: 139.7 kB / 0.9906 GB, free: 8.184 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.01569, allocations: 35.98 kB / 0.9907 GB, free: 8.148 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0001229/0.01581, allocations: 157.5 kB / 0.9908 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.01583, allocations: 19.89 kB / 0.9908 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.01586, allocations: 17.81 kB / 0.9909 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01586, allocations: 0 / 0.9909 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01587, allocations: 3.938 kB / 0.9909 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01587, allocations: 96 / 0.9909 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.01628, allocations: 475.8 kB / 0.9913 GB, free: 7.434 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01628, allocations: 4 kB / 0.9913 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.0163, allocations: 8 kB / 0.9913 GB, free: 7.422 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0163, allocations: 7.938 kB / 0.9913 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01631, allocations: 8.047 kB / 0.9914 GB, free: 7.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01631, allocations: 3.938 kB / 0.9914 GB, free: 7.402 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01632, allocations: 4 kB / 0.9914 GB, free: 7.398 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.01651, allocations: 283.1 kB / 0.9916 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.01653, allocations: 19.8 kB / 0.9916 GB, free: 7.086 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.01655, allocations: 0 / 0.9916 GB, free: 7.086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.01659, allocations: 8 kB / 0.9917 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.01664, allocations: 19.91 kB / 0.9917 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01665, allocations: 19.98 kB / 0.9917 GB, free: 7.039 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.01671, allocations: 119.2 kB / 0.9918 GB, free: 6.922 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01671, allocations: 0 / 0.9918 GB, free: 6.922 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002625/0.01697, allocations: 75.94 kB / 0.9919 GB, free: 6.848 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0004698/0.01744, allocations: 0.8287 MB / 0.9927 GB, free: 5.992 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005842/0.01802, allocations: 0.6932 MB / 0.9934 GB, free: 5.207 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01803, allocations: 8.062 kB / 0.9934 GB, free: 5.199 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.0181, allocations: 63.89 kB / 0.9934 GB, free: 5.137 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01841, allocations: 50 kB / 0.9935 GB, free: 5.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.02133, allocations: 3.631 MB / 0.997 GB, free: 1.152 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.02142, allocations: 116.2 kB / 0.9971 GB, free: 1.023 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.02165, allocations: 29.47 kB / 0.9972 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.02172, allocations: 52.48 kB / 0.9972 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.02172, allocations: 0 / 0.9972 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.04405, allocations: 7.632 MB / 1.005 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.809, allocations: 4.062 kB / 1.005 GB, free: 9.559 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.824797496199608]