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.001762/0.001762, allocations: 104.4 kB / 16.45 MB, free: 6.445 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.001901/0.001901, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.49/1.49, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.65/2.65, allocations: 443.5 MB / 0.7287 GB, free: 14.54 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.002227/0.002227, allocations: 63.91 kB / 1.056 GB, free: 2.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3207, allocations: 160.7 MB / 1.213 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002213/0.3229, allocations: 0.7166 MB / 1.214 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3249, allocations: 1.265 MB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.325, allocations: 0 / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.325, allocations: 7.875 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.3251, allocations: 23.84 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.326, allocations: 314.3 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.3264, allocations: 255.6 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3265, allocations: 20.05 kB / 1.215 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3267, allocations: 103.9 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.3269, allocations: 91.73 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.327, allocations: 24 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.3271, allocations: 35.98 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.3271, allocations: 11.98 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3272, allocations: 87.73 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.3275, allocations: 219.6 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3275, allocations: 4 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3275, allocations: 0 / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3275, allocations: 0 / 1.216 GB, free: 14.3 MB / 0.9669 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.0007238/0.3283, allocations: 496.2 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3283, allocations: 8.031 kB / 1.216 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.3284, allocations: 42.67 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3284, allocations: 12.89 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3286, allocations: 180.3 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3287, allocations: 8.375 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3287, allocations: 16.36 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3288, allocations: 61.98 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3289, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3289, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3289, allocations: 0 / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.3289, allocations: 23.98 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.3296, allocations: 412.5 kB / 1.217 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.3297, allocations: 30.56 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.3297, allocations: 20.8 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3298, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.33, allocations: 115.3 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.33, allocations: 0 / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003525/0.3304, allocations: 141.5 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3304, allocations: 51.41 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3305, allocations: 140.7 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.3306, allocations: 33.69 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.3307, allocations: 100.2 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3307, allocations: 23.86 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3308, allocations: 65.67 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.331, allocations: 326.8 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.3312, allocations: 87.94 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3314, allocations: 137.9 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3317, allocations: 235 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3317, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006583/0.3324, allocations: 378.5 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/0.3325, allocations: 101.1 kB / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.3325, allocations: 7.938 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3325, allocations: 0 / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.488e-05/0.3325, allocations: 4 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3325, allocations: 4 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.333, allocations: 87.98 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.3331, allocations: 19.98 kB / 1.219 GB, free: 10.64 MB / 0.9669 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.0001367/0.3332, allocations: 137.7 kB / 1.219 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3332, allocations: 7.953 kB / 1.219 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3332, allocations: 8.375 kB / 1.219 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3332, allocations: 8 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3333, allocations: 0 / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3333, allocations: 0 / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3334, allocations: 189.6 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3334, allocations: 0 / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.3334, allocations: 0 / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3335, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3335, allocations: 7.984 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3335, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3335, allocations: 3.938 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3337, allocations: 145.2 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.3337, allocations: 92.95 kB / 1.22 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3338, allocations: 3.984 kB / 1.22 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.3338, allocations: 4 kB / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3338, allocations: 7.984 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3339, allocations: 8 kB / 1.22 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.3339, allocations: 95.27 kB / 1.22 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3339, allocations: 0 / 1.22 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002714/0.3342, allocations: 44 kB / 1.22 GB, free: 9.793 MB / 0.9669 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.0006215/0.3348, allocations: 0.6826 MB / 1.221 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.3353, allocations: 330.1 kB / 1.221 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3353, allocations: 384 / 1.221 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.3354, allocations: 43.91 kB / 1.221 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3357, allocations: 19.97 kB / 1.221 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.3386, allocations: 2.072 MB / 1.223 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3389, allocations: 0.6963 MB / 1.224 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.339, allocations: 8.422 kB / 1.224 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3391, allocations: 27.42 kB / 1.224 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of SimCode: time 1.002e-06/0.3391, allocations: 0 / 1.224 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3686, allocations: 3.828 MB / 1.227 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.449, allocations: 8.062 kB / 1.227 GB, free: 1.973 MB / 0.9669 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.575457417871803]