Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 106.9 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.1 MB / 0.7171 GB, free: 4.086 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 71.89 kB / 1.027 GB, free: 7.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9021, allocations: 151.6 MB / 1.175 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002434/0.9046, allocations: 0.7124 MB / 1.175 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.9065, allocations: 1.271 MB / 1.177 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.9066, allocations: 0 / 1.177 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.9066, allocations: 7.875 kB / 1.177 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.9067, allocations: 19.84 kB / 1.177 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.9077, allocations: 309.3 kB / 1.177 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.9081, allocations: 275.6 kB / 1.177 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.9082, allocations: 12.19 kB / 1.177 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.9084, allocations: 103.8 kB / 1.177 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.9086, allocations: 91.73 kB / 1.177 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.9087, allocations: 24 kB / 1.177 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.9088, allocations: 39.98 kB / 1.177 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.9088, allocations: 19.91 kB / 1.178 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.909, allocations: 87.8 kB / 1.178 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.9093, allocations: 217.2 kB / 1.178 GB, free: 364 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9093, allocations: 0 / 1.178 GB, free: 364 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9093, allocations: 4 kB / 1.178 GB, free: 360 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9093, allocations: 0 / 1.178 GB, free: 360 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000668/0.91, allocations: 0.4884 MB / 1.178 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9101, allocations: 8.625 kB / 1.178 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.9101, allocations: 42.73 kB / 1.178 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.9102, allocations: 12.89 kB / 1.178 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.9103, allocations: 176.2 kB / 1.179 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.9104, allocations: 12.38 kB / 1.179 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.9104, allocations: 16.36 kB / 1.179 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.9106, allocations: 61.98 kB / 1.179 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9106, allocations: 3.984 kB / 1.179 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9106, allocations: 0 / 1.179 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.9106, allocations: 0 / 1.179 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.9107, allocations: 23.98 kB / 1.179 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.9112, allocations: 416.5 kB / 1.179 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/0.9113, allocations: 34.56 kB / 1.179 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.9114, allocations: 16.86 kB / 1.179 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.9114, allocations: 0 / 1.179 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.9116, allocations: 103.3 kB / 1.179 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.9116, allocations: 4 kB / 1.179 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003122/0.9119, allocations: 141.5 kB / 1.179 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.912, allocations: 55.41 kB / 1.179 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9121, allocations: 140.1 kB / 1.179 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.9122, allocations: 37.69 kB / 1.18 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.9122, allocations: 92.14 kB / 1.18 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.9123, allocations: 23.92 kB / 1.18 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.9124, allocations: 65.67 kB / 1.18 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9126, allocations: 330.8 kB / 1.18 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.9128, allocations: 87.94 kB / 1.18 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.913, allocations: 136.2 kB / 1.18 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.9133, allocations: 236.6 kB / 1.18 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9133, allocations: 0 / 1.18 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006228/0.914, allocations: 366.5 kB / 1.181 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.914, allocations: 109.3 kB / 1.181 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.9141, allocations: 0 / 1.181 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9141, allocations: 4 kB / 1.181 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.9141, allocations: 11.88 kB / 1.181 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.9141, allocations: 0 / 1.181 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.9146, allocations: 83.8 kB / 1.181 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.9147, allocations: 19.98 kB / 1.181 GB, free: 12.71 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001236/0.9148, allocations: 137.7 kB / 1.181 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.9148, allocations: 7.953 kB / 1.181 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.9148, allocations: 12.38 kB / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9149, allocations: 0 / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9149, allocations: 0 / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.9149, allocations: 4 kB / 1.181 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.9151, allocations: 193.5 kB / 1.181 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9151, allocations: 8 kB / 1.181 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.9151, allocations: 0 / 1.181 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9151, allocations: 0 / 1.181 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.9151, allocations: 7.984 kB / 1.181 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9151, allocations: 0 / 1.181 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9151, allocations: 0 / 1.181 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.9153, allocations: 145.2 kB / 1.182 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.9154, allocations: 81.06 kB / 1.182 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.9154, allocations: 11.98 kB / 1.182 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.9154, allocations: 0 / 1.182 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.9155, allocations: 11.98 kB / 1.182 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.9155, allocations: 4 kB / 1.182 GB, free: 12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.9156, allocations: 99.27 kB / 1.182 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9156, allocations: 0 / 1.182 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002686/0.9158, allocations: 43.89 kB / 1.182 GB, free: 11.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005576/0.9164, allocations: 0.6904 MB / 1.182 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.9169, allocations: 358.1 kB / 1.183 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9169, allocations: 0 / 1.183 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.917, allocations: 39.92 kB / 1.183 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.9173, allocations: 35.78 kB / 1.183 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.9199, allocations: 2.065 MB / 1.185 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.9202, allocations: 0.6924 MB / 1.186 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.9202, allocations: 12.38 kB / 1.186 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.9203, allocations: 31.42 kB / 1.186 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.9203, allocations: 0 / 1.186 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.9473, allocations: 3.818 MB / 1.189 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.919, allocations: 9.969 kB / 1.189 GB, free: 4.008 MB / 0.9044 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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: 14.765138672897592]