Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.001869/0.001869, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.002093/0.002093, allocations: 197.2 kB / 20.08 MB, free: 3 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.525/1.525, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.755/2.755, allocations: 443.5 MB / 0.7293 GB, free: 14.61 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.91 kB / 1.057 GB, free: 1.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002393/0.318, allocations: 0.8071 MB / 1.215 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3198, allocations: 1.148 MB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.3198, allocations: 0 / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.3199, allocations: 3.938 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.32, allocations: 19.84 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.3205, allocations: 139.6 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3208, allocations: 127.7 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3209, allocations: 19.92 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.321, allocations: 43.91 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3211, allocations: 55.8 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.3211, allocations: 12 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.3212, allocations: 23.98 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.3213, allocations: 15.92 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.3213, allocations: 47.78 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3215, allocations: 119.7 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3215, allocations: 3.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3215, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3216, allocations: 0 / 1.217 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.0007465/0.3223, allocations: 432.8 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3223, allocations: 12.02 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.3224, allocations: 12.89 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3225, allocations: 172.3 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3226, allocations: 4.375 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3226, allocations: 12.38 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3229, allocations: 74.2 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3229, allocations: 192 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3229, allocations: 3.938 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3229, allocations: 4 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.3232, allocations: 71.92 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.3237, allocations: 340.6 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3239, allocations: 50.53 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3241, allocations: 44.92 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3241, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.3245, allocations: 103.2 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.3245, allocations: 3.984 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006456/0.3251, allocations: 161.6 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3252, allocations: 51.41 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3253, allocations: 126 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3253, allocations: 33.7 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3254, allocations: 92.12 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3254, allocations: 11.91 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.3255, allocations: 33.7 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3256, allocations: 326.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3259, allocations: 55.95 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.3261, allocations: 86.45 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.3265, allocations: 136.2 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3265, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005973/0.3271, allocations: 219.6 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.3272, allocations: 41.69 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3272, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3272, allocations: 4.031 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3273, allocations: 27.86 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3273, allocations: 4.062 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3276, allocations: 43.92 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.3276, allocations: 11.98 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001093/0.3277, allocations: 121.8 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3277, allocations: 3.953 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.3278, allocations: 8.375 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3278, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3278, allocations: 3.984 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3278, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3279, allocations: 185.6 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3279, allocations: 8 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3281, allocations: 11.98 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3281, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3281, allocations: 11.98 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3281, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3281, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.3285, allocations: 156.9 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.3285, allocations: 81.06 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3286, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.3286, allocations: 11.98 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.3287, allocations: 7.984 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3287, allocations: 4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.3288, allocations: 91.27 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3288, allocations: 4 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002349/0.329, allocations: 24 kB / 1.22 GB, free: 10.46 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002041/0.3292, allocations: 103.2 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.3297, allocations: 171.2 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3297, allocations: 128 / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3299, allocations: 52.14 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3302, allocations: 30.02 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.3306, allocations: 199.3 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.331, allocations: 0.6924 MB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.331, allocations: 15.38 kB / 1.221 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/0.331, allocations: 0 / 1.221 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of Templates: time 0.003494/0.3345, allocations: 1.31 MB / 1.223 GB, free: 7.832 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.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: 10.726281245006248]